AnsweredAssumed Answered

No jar file specified for application master in lesson 2 lab (Developing Hadoop Applications Course)

Question asked by VarunKashyap07 on Aug 21, 2017
Latest reply on Aug 25, 2017 by deborah

Hello All, 

currently, I am preparing for MapR Hadoop certification exam and as a part of that I came across the Lesson 2 Lab where i am supposed to run a yarn command to launch a YARN job but i could not get desired result from that command. Please help me if I am missing any thing. 


The command is

yarn jar /opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/yarn/\ hadoop-yarn-applications-distributedshell-2.7.0-mapr-1602.jar \ -shell_command /bin/ls -shell_args /user/user01 –jar /opt/mapr/\ hadoop/hadoop-2.7.0/share/hadoop/yarn/hadoop-yarn-applications-\ distributedshell-2.7.0-mapr-1602.jar


the result i get is kind of error i.e. no jar file specified for application master (In Screen Shot.) but the desired output @#should look some thing like this

15/01/21 18:34:07 INFO distributedshell.Client: Got application report from ASM for, appId=1, clientToAMToken=null, appDiagnostics=, appMasterHost=yarn-training/, appQueue=root.user01, appMasterRpcPort=-1, appStartTime=1421894036331, yarnAppState=FINISHED, distributedFinalState=SUCCEEDED, appTrackingUrl=http://yarn- training:8088/proxy/application_1421893926516_0001/A, appUser=user01