INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032 19/08/29 20:07:00 INFO ipc.Clien

在hadoop服务器上运行jar命令,例如:[hadoop@hadoop000 lib]$ hadoop jar wxx-hadoop-1.0.jar com.wxx.bigdata.hadoop.mapreduce.wc.WordCountYARNApp /ruozedata/wc/input /ruozedata/wc/output.报如下错误:

19/08/29 20:06:59 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
19/08/29 20:07:00 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
19/08/29 20:07:01 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
19/08/29 20:07:02 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)

如果是伪分布式,就要查看yarn是否启动了。
如果是集群,就要按照如下设置:
 


  yarn.resourcemanager.address
  master:8032


  yarn.resourcemanager.scheduler.address
  master:8030


  yarn.resourcemanager.resource-tracker.address
  master:8031

 

你可能感兴趣的:(Hadoop)