天天看点

The HA Configuration has multiple addresses that match local node's ad

作者:94版三国演义

启动hadoop集群的时候 yarn报错

The HA Configuration has multiple addresses that match local node's ad

启动yarn集群报错

ERROR org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error starting ResourceManager
org.apache.hadoop.HadoopIllegalArgumentException: The HA Configuration has multiple addresses that match local node's address.
           
The HA Configuration has multiple addresses that match local node's ad

yarn日志报错

报错原因

直接翻译一下英文

The HA Configuration has multiple addresses that match local node's ad

估计是yarn-site.xml里面有的没改过来,导致多对多的对应关系

解决方案

检查yarn-site.xml文件

改的乱七八糟的,都对不上了

The HA Configuration has multiple addresses that match local node's ad

node1 对应rm1

node2对应rm2

node3对应rm3

The HA Configuration has multiple addresses that match local node's ad

重启一下,看resourcemanager是否能启动成功 是否报错

The HA Configuration has multiple addresses that match local node's ad

继续阅读