Windows 7 64 位上的 Hadoop 2.7.1:无法设置本地目录
Hadoop 2.7.1 on Windows 7 64 bit: Failed to setup local dir
我正尝试按照这篇文章在 Windows 7 64 位机器上配置 Hadoop 2.7.1:
http://www.srccodes.com/p/article/38/build-install-configure
我已经使用 Maven 成功地为 windows 创建了 hadoop 构建并进行了相同的配置。但是,当我尝试为示例 map-reduce 作业执行以下命令时,出现应用程序失败错误:
D:\hadoop>bin\yarn jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar wordcount /input output
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://SGH419R1Z8:8088/cluster/app/application_1441785420720_0003 Then, click on links to logs of each attempt.
Diagnostics: Failed to setup local dir /tmp/hadoop-rabindra/nm-local-dir, which was marked as good. Failing this attempt. Failing the application.
根据我过去 3 天对这个问题的研究,我确信这是一个权限问题,但我只是无法找到相同的解决方案。如果您能提供任何帮助,我将不胜感激。
谢谢,
拉胡尔
通过在与系统驱动器 (C:) 不同的分区中配置 hadoop 解决了这个问题,因为它对 Windows 有不同的权限要求。
我正尝试按照这篇文章在 Windows 7 64 位机器上配置 Hadoop 2.7.1: http://www.srccodes.com/p/article/38/build-install-configure
我已经使用 Maven 成功地为 windows 创建了 hadoop 构建并进行了相同的配置。但是,当我尝试为示例 map-reduce 作业执行以下命令时,出现应用程序失败错误:
D:\hadoop>bin\yarn jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar wordcount /input output
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://SGH419R1Z8:8088/cluster/app/application_1441785420720_0003 Then, click on links to logs of each attempt.Diagnostics: Failed to setup local dir /tmp/hadoop-rabindra/nm-local-dir, which was marked as good. Failing this attempt. Failing the application.
根据我过去 3 天对这个问题的研究,我确信这是一个权限问题,但我只是无法找到相同的解决方案。如果您能提供任何帮助,我将不胜感激。
谢谢, 拉胡尔
通过在与系统驱动器 (C:) 不同的分区中配置 hadoop 解决了这个问题,因为它对 Windows 有不同的权限要求。