CDH服务红,查看日志发现host有问题
看host后,发现里面节点ip都是127.0.0.1然后全部改成对应的ip,
1.在/etc/hosts里面全部加上了 ip以及对应的角色名称
2然后注释了127.0.0.1 hostname
3.然后重启所有的机器agent和server,在重新登录,点击重新部署。
重启agent
systemctl restart cloudera-scm-agent
重启server
systemctl restart cloudera-scm-server重启manager
重启集群