hadoop-container重定向失败

yhived7q  于 2021-06-02  发布在  Hadoop
关注(0)|答案(0)|浏览(263)

我是hadoop新手,一直在尝试学习在hadoop2.7.1jar中运行mapreduce示例。我使用以下命令来完成bin\jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar wordcount输入输出
作业启动但失败,出现以下错误

Failed redirect for container_1439014904092_0001_02_000001

Failed while trying to construct the redirect url to the log server. Log Server url may not be configured
java.lang.Exception: Unknown container. Container either has not started or has already completed or doesn't belong to this node at all.

Diagnostics: Exception from container-launch.
Container id: container_1439014904092_0001_02_000001
Exit code: 1
Stack trace: ExitCodeException exitCode=1:
        at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
        at org.apache.hadoop.util.Shell.run(Shell.java:456)
        at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:
722)
        at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.la
unchContainer(DefaultContainerExecutor.java:211)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.C
ontainerLaunch.call(ContainerLaunch.java:302)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.C
ontainerLaunch.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:744)

Shell output:         1 file(s) moved.

Container exited with a non-zero exit code 1
Failing this attempt. Failing the application.
15/08/08 11:55:51 INFO mapreduce.Job: Counters: 0

我试着浏览了stackoverflow和google上的几个链接,但是没有找到这个错误的具体原因,也没有找到解决方法。以前有人犯过这个错误吗?出现这种错误的确切原因和解决方法是什么?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题