This is a modified version of the original project: https://github.com/gpiskas/Simple_YARN_App_Skeleton
- Download the project
- Mvn clean package
- Change the generated .jar file to YARNAPP.jar
- Copy YARNAPP.jar to HDFS
# Puts the jar in HDFS under /apps/
hadoop fs -rm -r -f /apps
hadoop fs -mkdir -p /apps
hadoop fs -copyFromLocal YARNAPP.jar /apps/YARNAPP.jar
- launch
# Executes the Client.
hadoop jar YARNAPP.jar com.resa.yarn.Client