#####################################################################
###? ? ? ? ? ? ? ? ? ? ? ? ? AI Cloud!? ? ? ? ? ? ? ? ? ? ? ? ? ? ###
### Authorized only. All activity will be monitored and reported! ###
#####################################################################
scp /usr/lib/ambari-server/lib/ambari_server/setupAgent.py
host=xty108, exitcode=0
Command end time 2021-04-01 17:19:56
==========================
Running setup agent script...
==========================
Command start time 2021-04-01 17:19:56
Host registration aborted. Ambari Agent host cannot reach Ambari Server 'jq70:8080'. Please check the network connectivity between the Ambari Agent host and the Ambari Server
#####################################################################
###? ? ? ? ? ? ? ? ? ? ? ? ? AI Cloud!? ? ? ? ? ? ? ? ? ? ? ? ? ? ###
### Authorized only. All activity will be monitored and reported! ###
#####################################################################
Connection to xty108 closed.
SSH command execution finished
host=xty108, exitcode=1
Command end time 2021-04-01 17:19:56
ERROR: Bootstrap of host xty108 fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: #####################################################################
###? ? ? ? ? ? ? ? ? ? ? ? ? AI Cloud!? ? ? ? ? ? ? ? ? ? ? ? ? ? ###
### Authorized only. All activity will be monitored and reported! ###
#####################################################################
Connection to xty108 closed.
STDOUT: Host registration aborted. Ambari Agent host cannot reach Ambari Server 'jq70:8080'. Please check the network connectivity between the Ambari Agent host and the Ambari Server
#####################################################################
###? ? ? ? ? ? ? ? ? ? ? ? ? AI Cloud!? ? ? ? ? ? ? ? ? ? ? ? ? ? ###
### Authorized only. All activity will be monitored and reported! ###
#####################################################################
Connection to xty108 closed.
原因:/etc/hosts文件中沒有配置集群的主機映射信息
eg: 10.x.x.x? xty01
? ? ? ?10.x.x.x? xty02