2015-09-09 58 views
0

我试图在Windows 7 64位机器上配置的Hadoop 2.7.1本文以下内容: http://www.srccodes.com/p/article/38/build-install-configure的Hadoop 2.7.1在Windows 7 64位:无法设置本地目录

我已经成功地创建了Hadoop的使用maven为windows构建并配置相同。然而,当我试图对样品的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天,我我相信这是一个权限问题,但我只是无法弄清楚相同的解决方案。我非常感谢你提供的任何帮助。

感谢, 拉胡尔

回答

0

通过在不同的分区不是系统驱动器(C配置Hadoop的解决了这个:)因为它有不同的权限要求为Windows。

+1

我已经在(F :)驱动器中进行了配置。问题仍然存在。但是,如果我的膝盖在我的办公室的域中连接时启动服务。此权限问题不会发生。工作成功。 – Varadha31590