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端口的进程

猜你喜欢

转载自blog.csdn.net/love__guo/article/details/84141575
今日推荐