天天看點

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

啟動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

繼續閱讀