How to run the common shell application shown in the Hadoop 0.23.0 source example

I found a distributed shell application in hadoop 0.23.0 source code. Can anyone help me in launching it. How to convert an application to a jar file by compiling Client.java and applicationmaster.java with the necessary jar files included. It will be a great help if someone helps me in this matter or in some source where I can study it.

+3
source share
2 answers

Use maven to create whole Hadoop 0.23.x sources, and you can pick up the jar in the project directory.

: https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html

+2

hadoop jar/usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell.jar org.apache.hadoop.yarn.applications.distributedshell.Client --jar/usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell.jar --shell_command date --num_containers 1

+7

All Articles