Ambari-Agent心跳丢失:Failed to connect to https://xx.xx.xx:8440/ca due to
文章目录1.问题2.解决1.问题Ambari-Agent心跳丢失:后台日志:tail -f /var/log/ambari-agent/ambari-agent.logINFO 2021-07-19 16:57:37,124 main.py:481 - Connecting to Ambari server at https://manager.insight.com:8440 (10.180.2
·
1.问题
Ambari-Agent心跳丢失:
后台日志:
tail -f /var/log/ambari-agent/ambari-agent.log
INFO 2021-07-19 16:57:37,124 main.py:481 - Connecting to Ambari server at https://manager.insight.com:8440 (10.180.210.137)
INFO 2021-07-19 16:57:37,124 NetUtil.py:61 - Connecting to https://manager.hdp.com:8440/ca
WARNING 2021-07-19 16:57:37,125 NetUtil.py:92 - Failed to connect to https://manager.hdp.com:8440/ca due to [Errno 111] Connection refused
WARNING 2021-07-19 16:57:37,125 NetUtil.py:115 - Server at https://manager.hdp.com:8440 is not reachable, sleeping for 10 seconds...
2.解决
修改ambari-agent的配置文件,指定hostname为manager的hostname。
查看ambari-agent配置文件命令:grep -A5 '\[server\]' /etc/ambari-agent/conf/ambari-agent.ini
重启ambari-agent:ambari-agent restart
更多推荐
已为社区贡献2条内容
所有评论(0)