0
我正在研究Windows 7中的hadoop安裝。Windows 7中的Hadoop安裝
試圖從apache站點解壓tarfiles,但它不成功。
我已經在互聯網搜索和找到下面的鏈接。
http://toodey.com/2015/08/10/hadoop-installation-on-windows-without-cygwin-in-10-mints/
我能夠安裝。但是當我試圖執行這些例子時,我遇到了以下錯誤。執行
命令:
C:\Users\hadoop\hadoop-2.7.1\bin\hadoop.cmd jar C:\Users\hadoop\hadoop-2.7.1\share\hadoop\mapreduce\hadoop-mapreduce-examples-2.7.1.jar wordcount /hadoop/input /hadoop/output
錯誤:
C:\Users\hadoop\hadoop-2.7.1>C:\Users\hadoop\hadoop-2.7.1\bin\hadoop.cmd jar C:\Users\hadoop\hadoop-2.7.1\share\hadoop\mapreduce\hadoop-mapreduce-examples-2.7.1.jar wordcount /hadoop/input /hadoop/output
16/11/14 17:05:28 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:0000
16/11/14 17:05:30 INFO input.FileInputFormat: Total input paths to process : 3
16/11/14 17:05:30 INFO mapreduce.JobSubmitter: number of splits:3
16/11/14 17:05:30 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1479122512555_0003
16/11/14 17:05:31 INFO impl.YarnClientImpl: Submitted application application_1479122512555_0003
16/11/14 17:05:32 INFO mapreduce.Job: The url to track the job: http://MachineName:8088/proxy/application_1479122512555_0003/
16/11/14 17:05:32 INFO mapreduce.Job: Running job: job_1479122512555_0003
16/11/14 17:05:36 INFO mapreduce.Job: Job job_1479122512555_0003 running in uber mode : false
16/11/14 17:05:36 INFO mapreduce.Job: map 0% reduce 0%
16/11/14 17:05:36 INFO mapreduce.Job: Job job_1479122512555_0003 failed with state FAILED due to: Application application_1479122512555_0003 failed 2 times due to AM Container for appattempt_1479122512555_0003_000002 exited with exitCode: -1000
For more detailed output, check application tracking page:http://MachineName:8088/cluster/app/application_1479122512555_0003Then, click on links to logs of each attempt.
Diagnostics: null
Failing this attempt. Failing the application.
16/11/14 17:05:36 INFO mapreduce.Job: Counters: 0
在此先感謝...
以下是消息我可以看到.. 可供容器container_1479122512555_0003_02_000001沒有日誌 讓我知道,如果我錯了指向日誌。 – VinayS
始終爲輸入提供特定的文件名 – Mahek
現在我已經在下面執行了。 C:\ Users \ hadoop \ hadoop-2.7.1 \ bin \ hadoop.cmd jar C:\ Users \ hadoop \ hadoop-2.7.1 \ share \ hadoop \ mapreduce \ hadoop-mapreduce-examples-2.7.1。 jar wordcount /hadoop/input/LICENSE.txt/hadoop/output 但錯誤是顫音一樣的。 我可以知道安裝是否有問題嗎? – VinayS