Param did you ever get to resolve this issue? I am experiencing this my Sandbox 2.2 when I do the tutorials. ...
Param did you ever get to resolve this issue? I am experiencing this my Sandbox 2.2 when I do the tutorials.
I am unable to get simple word_count to run on HDP2.1 sandbox. I get the exception attached at the bottom. On looking at the container logs, I see:
” Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster ”
I verified that the classpath is correct. “yarn.application.classpath” in the job configuration looks like this:
yarn.application.classpath = /etc/hadoop/conf,/usr/lib/hadoop/*,/usr/lib/hadoop/lib/*,/usr/lib/hadoop-hdfs/*,/usr/lib/hadoop-hdfs/lib/*,/usr/lib/hadoop-yarn/*,/usr/lib/hadoop-yarn/lib/*,/usr/lib/hadoop-mapreduce/*,/usr/lib/hadoop-mapreduce/lib/*
I am not setting “yarn.application.classpath”, in my client application. It is automatically set and looks good to me. The class is in /usr/lib/hadoop-mapreduce/hadoop-mapreduce-client-app-18.104.22.168.1.1.0-385.jar.
The stack in my client log:
2014-05-15 10:28:15,121 INFO [Job] Job job_1400096640605_0002 failed with state FAILED due to: Application application_1400096640605_0002 failed 2 times due to AM Container for appattempt_1400096640605_0002_000002 exited with exitCode: 1 due to: Exception from container-launch: org.apache.hadoop.util.Shell$ExitCodeException:
Thanks for any help with this.
The forum ‘MapReduce’ is closed to new topics and replies.
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world