==========================
Creating target directory...
==========================
Command start time 2016-03-09 15:29:38
Connection to slave1.bigdata.com closed.
SSH command execution finished
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:39
==========================
Copying common functions script...
==========================
Command start time 2016-03-09 15:29:39
scp /usr/lib/python2.6/site-packages/ambari_commons
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:39
==========================
Copying OS type check script...
==========================
Command start time 2016-03-09 15:29:39
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:39
==========================
Running OS type check...
==========================
Command start time 2016-03-09 15:29:39
Cluster primary/cluster OS family is redhat7 and local/current OS family is redhat6
Connection to slave1.bigdata.com closed.
SSH command execution finished
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:39
==========================
Checking 'sudo' package on remote host...
==========================
Command start time 2016-03-09 15:29:39
sudo-1.8.6p3-12.el6.x86_64
Connection to slave1.bigdata.com closed.
SSH command execution finished
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:41
==========================
Copying repo file to 'tmp' folder...
==========================
Command start time 2016-03-09 15:29:41
scp /etc/yum.repos.d/ambari.repo
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:41
==========================
Moving file to repo dir...
==========================
Command start time 2016-03-09 15:29:41
Connection to slave1.bigdata.com closed.
SSH command execution finished
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:41
==========================
Copying setup script file...
==========================
Command start time 2016-03-09 15:29:41
scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:41
==========================
Running setup agent script...
==========================
Command start time 2016-03-09 15:29:41
Verifying Python version compatibility...
Using python /usr/bin/python2.6
Found ambari-agent PID: 47993
Stopping ambari-agent
Removing PID file at /var/run/ambari-agent/ambari-agent.pid
ambari-agent successfully stopped
('INFO 2016-03-09 15:24:56,693 PingPortListener.py:51 - Ping port listener started on port: 8670
INFO 2016-03-09 15:24:56,707 main.py:258 - Connecting to Ambari server at https://master.bigdata.com:8440 (211.98.71.195)
INFO 2016-03-09 15:24:56,707 NetUtil.py:60 - Connecting to https://master.bigdata.com:8440/ca
WARNING 2016-03-09 15:26:05,405 NetUtil.py:83 - Failed to connect to https://master.bigdata.com:8440/ca due to [Errno 110] Connection timed out
WARNING 2016-03-09 15:26:05,405 NetUtil.py:106 - Server at https://master.bigdata.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2016-03-09 15:26:15,406 NetUtil.py:60 - Connecting to https://master.bigdata.com:8440/ca
WARNING 2016-03-09 15:27:23,889 NetUtil.py:83 - Failed to connect to https://master.bigdata.com:8440/ca due to [Errno 110] Connection timed out
WARNING 2016-03-09 15:27:23,889 NetUtil.py:106 - Server at https://master.bigdata.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2016-03-09 15:27:33,890 NetUtil.py:60 - Connecting to https://master.bigdata.com:8440/ca
WARNING 2016-03-09 15:28:14,497 NetUtil.py:83 - Failed to connect to https://master.bigdata.com:8440/ca due to [Errno 111] Connection refused
WARNING 2016-03-09 15:28:14,497 NetUtil.py:106 - Server at https://master.bigdata.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2016-03-09 15:28:24,497 NetUtil.py:60 - Connecting to https://master.bigdata.com:8440/ca
WARNING 2016-03-09 15:29:32,523 NetUtil.py:83 - Failed to connect to https://master.bigdata.com:8440/ca due to [Errno 110] Connection timed out
WARNING 2016-03-09 15:29:32,523 NetUtil.py:106 - Server at https://master.bigdata.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2016-03-09 15:29:42,523 NetUtil.py:60 - Connecting to https://master.bigdata.com:8440/ca
INFO 2016-03-09 15:29:42,788 main.py:68 - loglevel=logging.INFO
INFO 2016-03-09 15:29:55,693 main.py:68 - loglevel=logging.INFO
INFO 2016-03-09 15:29:55,694 DataCleaner.py:36 - Data cleanup thread started
INFO 2016-03-09 15:29:55,695 DataCleaner.py:117 - Data cleanup started
INFO 2016-03-09 15:29:55,696 DataCleaner.py:119 - Data cleanup finished
', None)
Connection to slave1.bigdata.com closed.
SSH command execution finished
host=slave1.bigdata.com, exitcode=0
Command end time 2016-03-09 15:29:57
Registering with the server...
Registration with the server failed.
================== 在agent机器的/etc/hosts 添加server的地址解析