赞
踩
问题描述: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端口的进程
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。