gpt4 book ai didi

hadoop - hadoop distcp由于缺少 yarn 日志目录而失败

转载 作者:行者123 更新时间:2023-12-02 20:39:21 25 4
gpt4 key购买 nike

我正在尝试在EMR群集上运行distcp命令:

hadoop distcp s3a://... hdfs://host/data/...

当我运行它时,它给出以下错误:
Exit code: 1
Exception message: /bin/bash: /mnt/yarn/logs/application_1524773139099_0003/container_1524773139099_0003_02_000001/stdout: No such file or directory

Stack trace: ExitCodeException exitCode=1: /bin/bash: /mnt/yarn/logs/application_1524773139099_0003/container_1524773139099_0003_02_000001/stdout: No such file or directory

at org.apache.hadoop.util.Shell.runCommand(Shell.java:582)
at org.apache.hadoop.util.Shell.run(Shell.java:479)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:773)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
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)

我已经检查了集群中的所有节点,它们都具有我创建的 /mnt/yarn/logs目录。这里发生了什么?

最佳答案

确保运行作业的用户具有足够的特权,可以在/ mnt / yarn / logs路径中创建临时目录,例如application _ *******。最好是配置单元用户,还可以提取application_1524773139099_0003的毛线记录,以查看可能解释实际错误的错误。

关于hadoop - hadoop distcp由于缺少 yarn 日志目录而失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50051990/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com