- hdp界面全部失去心跳Components Heartbeat Lost
原因是修改了/etc/hosts 安裝完畢後修改了hosts裏面的添加第2列
10.56.10.123 bigdata1.up.com bigdata1
10.56.10.140 bigdata2.up.com bigdata2
10.56.10.163 bigdata3.up.com bigdata3
解決辦法
1. 進 ambari 控制檯,關閉 ambari 管理的所有組件;
2. stop ambari-server;
3. stop ambari-agent; # 所有服務器
4. 修改 ambari 元數據的主機名信息(新增的刪除,原來的重命名)
5. 在各節點執行 ambari-agent reset # 這裏指定的 ambari 服務器也一定帶上域名
6. 重啓 ambari-server
7. 重啓 ambari-agent