gpt4 book ai didi

java - 无法在 Windows 上的 Hadoop 中设置本地目录

转载 作者:可可西里 更新时间:2023-11-01 15:02:05 27 4
gpt4 key购买 nike

尝试在 Windows 上运行 MapReduce 作业时,出现如下错误:

Error: Application application_1441785420720_0002 failed 2 times due to AM Container for appattempt_1441785420720_0002_000002 exited with exitCode:-1000

Diagnostics:
Application application_1441785420720_0003 failed 2 times due to AM Container for appattempt_1441785420720_0003_000002 exited with exitCode: -1000 For more detailed output, check application tracking page:http://HOST:8088/cluster/app/application_1441785420720_0003 Then, click on links to logs of each attempt.

Diagnostics: Failed to setup local dir /tmp/hadoop-USER/nm-local-dir, which was marked as good. Failing this attempt. Failing the application.

昨天一切正常,Java 环境、文件权限或 Hadoop 配置没有任何变化。

最佳答案

由于 Hadoop 集群环境是在 WINDOWS 操作系统上,您应该使用“以管理员身份运行”运行 CMD 以解决此问题

关于java - 无法在 Windows 上的 Hadoop 中设置本地目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39519566/

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