Retrying connect to server: 0.0.0.0/0.0.0.0:8031. Already tried 0 time(s); retry policy is RetryUpTo

  • 错误详情如下:
org.apache.hadoop.ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8031. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
  • 解决办法:修改hadoop集群所有节点上yarn-site.xml配置文件,在该文件中配置ResourceManager Master节点所在地址即可解决问题
#修改hadoop集群所有节点上yarn-site.xml配置文件,在该文件中配置ResourceManager Master节点所在地址即可解决问题。详细配置信息如下:
<property>
   <name>yarn.nodemanager.aux-services</name>
   <value>mapreduce_shuffle</value>
</property>

<property>  
    <name>yarn.resourcemanager.address</name>  
    <value>vtb-fk1:8032</value>  
</property> 

<property>
    <name>yarn.resourcemanager.scheduler.address</name>  
    <value>vtb-fk1:8030</value>  
</property>

<property>
    <name>yarn.resourcemanager.resource-tracker.address</name>  
    <value>vtb-fk1:8031</value>  
</property>
  • 重启hadoop即可。
上一篇:在SpringBoot启动类上添加ComponentScan出现springbootapplication already applies given @ComponentScan


下一篇:jmeter报错 java.net.BindException: Address already in use: connect