1. 程式人生 > >YARN叢集遇到的問題

YARN叢集遇到的問題

目錄

1.YARN HA叢集中主備切換失敗

問題描述:HDFS HA叢集、YARN HA叢集,使用zookeeper叢集監控。namenode主備切換正常,而resourcemanager主備切換失敗。檢視standby狀態的resourcemanager啟動日誌發現錯誤資訊:

org.apache.hadoop.ha.ServiceFailedException: RM could not transition to Active
Caused by: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: Problem binding to [node02:8031] java.net.BindException: 地址已在使用; For more details see:  http://wiki.apache.org/hadoop/BindException
Caused by: java.net.BindException: Problem binding to [node02:8031] java.net.BindException: 地址已在使用; For more details see:  http://wiki.apache.org/hadoop/BindException
Caused by: java.net.BindException: 地址已在使用

通過日誌發現地址已被使用。
1.檢視埠詳情:netstat -ntlp
2.kill掉佔用8031埠的程序