我正在四节点集群上的大型数据集上运行一些map reduce任务,但得到异常,退出代码为-255
16/08/04 08:07:19 INFO mapreduce.Job: map 0% reduce 0%
16/08/04 08:07:27 INFO mapreduce.Job: Task Id : attempt_1470297644642_0001_m_000000_0, Status : FAILED
Exception from container-launch.
Container id: container_1470297644642_0001_01_000003
Exit code: 255
Stack trace: ExitCodeException exitCode=255:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:543)
at org.apache.hadoop.util.Shell.run(Shell.java:460)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:720)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:210)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Container exited with a non-zero exit code 255
在日志文件-slf4j中:
未能加载类“org.slf4j.impl.staticloggerbinder”。slf4j:默认为无操作(nop)记录器实现slf4j:请参阅http://www.slf4j.org/codes.html#staticloggerbinder 更多细节。��小时��9�a@���p版本应用程序\u acl修改\u appview \u应用程序\u ownecentos(&C)容器\u 1470297644642 \u 0007 \u 01 \u000007��stderr0stdout0syslog4142016-08-04 10:39:56439 fatal[main]org.apache.hadoop.yarn.yarnuncaughtexceptionhandler:线程[main,5,main]引发错误。正在关闭。。。java.lang.nosuchmethoderror:org.apache.hadoop.mapred.jvmid(lorg/apache/hadoop/mapred/jobid;zj)v位于org.apache.hadoop.mapred.yarnchild.main(yarnchild。java:86)2016-08-04 10:39:56444 info[main]org.apache.hadoop.util.exitil:退出状态为-1(&C)容器\u 1470297644642 \u 0007 \u 01 \u 000013��stderr0stdout0syslog4142016-08-04 10:40:03359 fatal[main]org.apache.hadoop.yarn.yarnuncaughtexceptionhandler:线程[main,5,main]引发错误。正在关闭。。。
暂无答案!
目前还没有任何答案,快来回答吧!