我有以下。Namenode 和 Datanode 似乎工作得很好。但是 Resourcemanager 和 Nodemanager 似乎有一些我找不到的奇怪的配置问题。乍一看,一切都很好,因为每个 webgui 都在响应。但是如果我执行
bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.2.0.jar wordcount /input /out2
我收到以下错误
2014-02-04 08:57:05,906 INFO [main] mapreduce.Job (Job.java:monitorAndPrintJob(1345)) - map 0% reduce 0%
2014-02-04 08:57:14,146 INFO [main] ipc.Client (Client.java:handleConnectionFailure(783)) - Retrying connect to server: datanode0/10.80.10.132:59135. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=3, sleepTime=1 SECONDS)
2014-02-04 08:57:15,147 INFO [main] ipc.Client (Client.java:handleConnectionFailure(783)) - Retrying connect to server: datanode0/10.80.10.132:59135. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=3, sleepTime=1 SECONDS)
2014-02-04 08:57:16,149 INFO [main] ipc.Client (Client.java:handleConnectionFailure(783)) - Retrying connect to server: datanode0/10.80.10.132:59135. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=3, sleepTime=1 SECONDS)
这真的很奇怪,因为配置说了一些不同的东西
<name>yarn.nodemanager.address</name>
<value>${yarn.nodemanager.hostname}:36123</value>
这真的很奇怪,因为我不知道他为什么占用端口 59135 ......顺便说一句,它总是一些随机端口。谁能指出我正确的方向以找到错误