hadoop中 INFO ipc.Client: Retrying connect to server错误解决办法

运行hadoop jar hadoop-mapreduce-examples-2.6.4.jar wordcount  /wordcount/input/ /wordcount/output时,一直尝试连接

Connecting to ResourceManager 

错误提示如下:

17/08/22 18:48:41 INFO client.RMProxy: Connecting to ResourceManager at mini4/192.168.132.8:8032
17/08/22 18:48:43 INFO ipc.Client: Retrying connect to server: mini4/192.168.132.8:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/08/22 18:48:44 INFO ipc.Client: Retrying connect to server: mini4/192.168.132.8:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/08/22 18:48:45 INFO ipc.Client: Retrying connect to server: mini4/192.168.132.8:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/08/22 18:48:46 INFO ipc.Client: Retrying connect to server: mini4/192.168.132.8:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)


查询网上的资料。原因是我没有启动 yarn

所以。启动一下yarn就好了。

start-yarn.sh
就行了!

你可能感兴趣的:(linux,hadoop)