java - Yarn MapReduce job dies with strange message -
i have hadoop-yarn cluster, when try run hadoop examples strange error message in container log:
error: not find or load main class 1638
my java version is:
java version "1.7.0_51" java(tm) se runtime environment (build 1.7.0_51-b13) java hotspot(tm) 64-bit server vm (build 24.51-b03, mixed mode)
running services on master:
593 nodemanager 373 secondarynamenode 745 jobhistoryserver 507 resourcemanager 129 namenode 240 datanode
running services on slave:
51 datanode 136 nodemanager 351 jps
i execute following command:
bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar grep input/hadoop output 'dfs[a-z.]+'
and exception:
15/05/13 13:35:31 info mapreduce.job: running job: job_1431538391289_0005 15/05/13 13:35:37 info mapreduce.job: job job_1431538391289_0005 running in uber mode : false 15/05/13 13:35:37 info mapreduce.job: map 0% reduce 0% 15/05/13 13:35:37 info mapreduce.job: job job_1431538391289_0005 failed state failed due to: application application_1431538391289_0005 failed 2 times due container appattempt_1431538391289_0005_000002 exited exitcode: 1 more detailed output, check application tracking page:http://namenode:8088/proxy/application_1431538391289_0005/then, click on links logs of each attempt. diagnostics: exception container-launch. container id: container_1431538391289_0005_02_000001 exit code: 1 stack trace: exitcodeexception exitcode=1: @ org.apache.hadoop.util.shell.runcommand(shell.java:538) @ org.apache.hadoop.util.shell.run(shell.java:455) @ org.apache.hadoop.util.shell$shellcommandexecutor.execute(shell.java:715) @ org.apache.hadoop.yarn.server.nodemanager.defaultcontainerexecutor.launchcontainer(defaultcontainerexecutor.java:211) @ org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.containerlaunch.call(containerlaunch.java:302) @ org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.containerlaunch.call(containerlaunch.java:82) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:744)
could please me solve problem.
instead of
<property> <name>yarn.app.mapreduce.am.command-opts</name> <value>819</value> </property>
it requires
<property> <name>yarn.app.mapreduce.am.command-opts</name> <value>-xmx819m</value> </property>
Comments
Post a Comment