||
ERROR: Bootstrap of host node1.hadooptest.com fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: tcgetattr: Invalid argument
Connection to node1.hadooptest.com closed.
STDOUT: {'exitstatus': 1, 'log': "Host registration aborted. Ambari Agent host cannot reach Ambari Server 'localhost:8080'. Please check the network connectivity between the Ambari Agent host and the Ambari Server"}
Connection to node1.hadooptest.com closed.
原因是:/etc/hosts文件域名没有配置,需要每台服务器都要配置所有主机