2015-09-09 61 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