Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run distributed shell application given in Hadoop 0.23.0 source example

Tags:

java

hadoop

I found a distributed shell application in hadoop 0.23.0 source codes, Can any one please help me in running it. How to convert the application into a jar file by compiling the Client.java and applicationmaster.java with the inclusion of required jar files. It will be a great help if some one help me in this issue or some source where i can learn it.

like image 312
srikayala Avatar asked Jan 16 '23 16:01

srikayala


1 Answers

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

like image 63
srikayala Avatar answered Apr 11 '23 03:04

srikayala