1、hostname localhost.localdomain differs from the canonical name localhost
解決方法:查看hostname
發現與/etc/hostname中的不一致
運行命令hostnamectl set-hostname XXX
2、MainThread agent ERROR Heartbeating to 192.168.1.217
解決這個問題簡單的,是因爲有進程佔用了。比如
ps aux | grep super
kill 10215
/bin/systemctl stop cloudera-scm-agent.service