hadoop搭建集群,运行pi实例,map和reduce0%就失败了,我用的是root用户,hadoop文件夹在桌面,8088页面也是可以看到的,报错如下,请帮忙看看什么问题呀?

执行集群Stack trace: ExitCodeException exitCode=1: /home/hadoop _tmp/nm-local-dir/usercache/root/appcach
cd share/hadoop/mapreduce
hadoop jar hadoop-mapreduce-examples-2.7.1.jar pi 5 5
Exception message: /home/hadoop _tmp/nm-local-dir/usercache/root/appcache/application_1586797329216_0001/container_1586797329216_0001_01_000003/default_container_executor_session.sh: line 3: /home/hadoop: Is a directory
/bin/mv: target _tmp/nm-local-dir/nmPrivate/application_1586797329216_0001/container_1586797329216_0001_01_000003/container_1586797329216_0001_01_000003.pid' is not a directory
Stack trace: ExitCodeException exitCode=1: /home/hadoop _tmp/nm-local-dir/usercache/root/appcache/application_1586797329216_0001/container_1586797329216_0001_01_000003/default_container_executor_session.sh: line 3: /home/hadoop: Is a directory
/bin/mv: target
_tmp/nm-local-dir/nmPrivate/application_1586797329216_0001/container_1586797329216_0001_01_000003/container_1586797329216_0001_01_000003.pid' is not a directory
Exception from container-launch.
Container id: container_1586797329216_0001_01_000003
Exit code: 1
Exception message: /home/hadoop _tmp/nm-local-dir/usercache/root/appcache/application_1586797329216_0001/container_1586797329216_0001_01_000003/default_container_executor_session.sh: line 3: /home/hadoop: Is a directory
/bin/mv: target `_tmp/nm-local-dir/nmPrivate/application_1586797329216_0001/container_1586797329216_0001_01_000003/container_1586797329216_0001_01_000003.pid' is not a directory

Stack trace: ExitCodeException exitCode=1: /home/hadoop _tmp/nm-local-dir/usercache/root/appcache/application_1586797329216_0001/container_1586797329216_0001_01_000003/default_container_executor_session.sh: line 3: /home/hadoop: Is a directory
/bin/mv: target `_tmp/nm-local-dir/nmPrivate/application_1586797329216_0001/container_1586797329216_0001_01_000003/container_1586797329216_0001_01_000003.pid' is not a directory

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.launchContainer(DefaultContainerExecutor.java:211)
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:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Container exited with a non-zero exit code 1

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐