你好,我的samza作业容器由于以下错误而经常失败:
容器启动异常。容器id:container\u 1540535314451\u 0141\u 01\u 000021退出代码:1堆栈跟踪:exitcodeexception exitcode=1:at 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:266)位于java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor。java:1149)在java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor。java:624)在java.lang.thread.run(线程。java:748)容器以非零退出代码1退出
有人能帮我解释一下为什么会这样吗?
1条答案
按热度按时间31moq8wy1#
检查下面的日志
/var/log/hadoop-yarn/containers/[application-id]/[container-id]/
了解你的问题。