==========================
Creating target directory...
==========================
Command start time 2019-03-20 13:25:29
Connection to masternode closed.
SSH command execution finished
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:30
==========================
Copying ambari sudo script...
==========================
Command start time 2019-03-20 13:25:30
scp /var/lib/ambari-server/ambari-sudo.sh
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:30
==========================
Copying common functions script...
==========================
Command start time 2019-03-20 13:25:30
scp /usr/lib/ambari-server/lib/ambari_commons
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:30
==========================
Copying create-python-wrap script...
==========================
Command start time 2019-03-20 13:25:30
scp /var/lib/ambari-server/create-python-wrap.sh
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:31
==========================
Copying OS type check script...
==========================
Command start time 2019-03-20 13:25:31
scp /usr/lib/ambari-server/lib/ambari_server/os_check_type.py
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:31
==========================
Running create-python-wrap script...
==========================
Command start time 2019-03-20 13:25:31
Connection to masternode closed.
SSH command execution finished
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:31
==========================
Running OS type check...
==========================
Command start time 2019-03-20 13:25:31
Cluster primary/cluster OS family is redhat7 and local/current OS family is redhat7
Connection to masternode closed.
SSH command execution finished
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:31
==========================
Checking 'sudo' package on remote host...
==========================
Command start time 2019-03-20 13:25:31
Connection to masternode closed.
SSH command execution finished
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:32
==========================
Copying repo file to 'tmp' folder...
==========================
Command start time 2019-03-20 13:25:32
scp /etc/yum.repos.d/ambari.repo
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:32
==========================
Moving file to repo dir...
==========================
Command start time 2019-03-20 13:25:32
Connection to masternode closed.
SSH command execution finished
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:32
==========================
Changing permissions for ambari.repo...
==========================
Command start time 2019-03-20 13:25:32
Connection to masternode closed.
SSH command execution finished
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:32
==========================
Copying setup script file...
==========================
Command start time 2019-03-20 13:25:32
scp /usr/lib/ambari-server/lib/ambari_server/setupAgent.py
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:33
==========================
Running setup agent script...
==========================
Command start time 2019-03-20 13:25:33
('\' from http://169.254.169.254/latest/meta-data/public-hostname
INFO 2019-03-20 13:25:38,531 HeartbeatThread.py:127 - Sending registration request
INFO 2019-03-20 13:25:38,532 security.py:135 - Event to server at /register (correlation_id=0): {\'currentPingPort\': 8670, \'timestamp\': 1553109938315, \'hostname\': \'masternode\', \'publicHostname\': \'\\r\
\\r\
\\r\
\\r\
\\r\
waiting...\\r\
\\r\
\\r\
\\r\
\\r\
\', \'hardwareProfile\': {\'kernel\': \'Linux\', \'domain\': \'\', \'kernelrelease\': \'3.10.0-957.10.1.el7.x86_64\', \'uptime_days\': \'0\', \'memorytotal\': 5925888, \'swapfree\': \'5.87 GB\', \'processorcount\': 2, \'selinux\': False, \'timezone\': \'CST\', \'hardwareisa\': \'x86_64\', \'operatingsystem\': \'centos\', \'hostname\': \'masternode\', \'id\': \'root\', \'memoryfree\': 5292184, \'hardwaremodel\': \'x86_64\', \'uptime_seconds\': \'45491\', \'osfamily\': \'redhat\', \'physicalprocessorcount\': 2, \'interfaces\': \'lo,ens33\', \'memorysize\': 5925888, \'swapsize\': \'5.87 GB\', \'netmask\': \'255.255.255.0\', \'ipaddress\': \'192.168.100.110\', \'kernelmajversion\': \'3.10\', \'kernelversion\': \'3.10.0\', \'macaddress\': \'00:0C:29:7C:82:4A\', \'operatingsystemrelease\': \'7.6.1810\', \'uptime_hours\': \'12\', \'fqdn\': \'masternode\', \'architecture\': \'x86_64\', \'mounts\': [{\'available\': \'48890120\', \'used\': \'2600120\', \'percent\': \'6%\', \'device\': \'/dev/mapper/centos-root\', \'mountpoint\': \'/\', \'type\': \'xfs\', \'size\': \'51490240\'}]}, \'agentEnv\': {\'transparentHugePage\': \'\', \'hostHealth\': {\'agentTimeStampAtReporting\': 1553109938504, \'liveServices\': [{\'status\': \'Healthy\', \'name\': \'chronyd\', \'desc\': \'\'}]}, \'reverseLookup\': True, \'umask\': \'18\', \'hasUnlimitedJcePolicy\': None, \'alternatives\': [], \'firewallName\': \'iptables\', \'stackFoldersAndFiles\': [], \'existingUsers\': [{\'status\': \'Available\', \'name\': \'hadoop\', \'homeDir\': \'/home/hadoop\'}], \'firewallRunning\': False}, \'prefix\': \'/var/lib/ambari-agent/data\', \'agentVersion\': \'2.7.3.0\', \'agentStartTime\': 1553109937862, \'id\': -1}
INFO 2019-03-20 13:25:38,609 __init__.py:82 - Event from server at /user/ (correlation_id=0): {u\'status\': u\'OK\', u\'exitstatus\': 1, u\'log\': u\'Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException\
Internal Exception: org.postgresql.util.PSQLException: ERROR: el valor es demasiado largo para el tipo character varying(255)\
Error Code: 0\
Call: UPDATE hosts SET total_mem = ?, host_attributes = ?, public_host_name = ? WHERE (host_id = ?)\
\\tbind => [4 parameters bound]\
Query: UpdateObjectQuery(org.apache.ambari.server.orm.entities.HostStateEntity@1e2ae2c7)\', u\'id\': -1}
INFO 2019-03-20 13:25:38,649 HeartbeatThread.py:132 - Registration response received
ERROR 2019-03-20 13:25:38,650 HeartbeatThread.py:108 - Exception in HeartbeatThread. Re-running the registration
Traceback (most recent call last):
File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 95, in run
self.register()
File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 135, in register
self.handle_registration_response(response)
File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 209, in handle_registration_response
raise Exception(error_message)
Exception: Registration failed due to: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: ERROR: el valor es demasiado largo para el tipo character varying(255)
Error Code: 0
Call: UPDATE hosts SET total_mem = ?, host_attributes = ?, public_host_name = ? WHERE (host_id = ?)
\tbind => [4 parameters bound]
Query: UpdateObjectQuery(org.apache.ambari.server.orm.entities.HostStateEntity@1e2ae2c7)
INFO 2019-03-20 13:25:38,651 transport.py:358 - Receiver loop ended
', None)
('\' from http://169.254.169.254/latest/meta-data/public-hostname
INFO 2019-03-20 13:25:38,531 HeartbeatThread.py:127 - Sending registration request
INFO 2019-03-20 13:25:38,532 security.py:135 - Event to server at /register (correlation_id=0): {\'currentPingPort\': 8670, \'timestamp\': 1553109938315, \'hostname\': \'masternode\', \'publicHostname\': \'\\r\
\\r\
\\r\
\\r\
\\r\
waiting...\\r\
\\r\
\\r\
\\r\
\\r\
\', \'hardwareProfile\': {\'kernel\': \'Linux\', \'domain\': \'\', \'kernelrelease\': \'3.10.0-957.10.1.el7.x86_64\', \'uptime_days\': \'0\', \'memorytotal\': 5925888, \'swapfree\': \'5.87 GB\', \'processorcount\': 2, \'selinux\': False, \'timezone\': \'CST\', \'hardwareisa\': \'x86_64\', \'operatingsystem\': \'centos\', \'hostname\': \'masternode\', \'id\': \'root\', \'memoryfree\': 5292184, \'hardwaremodel\': \'x86_64\', \'uptime_seconds\': \'45491\', \'osfamily\': \'redhat\', \'physicalprocessorcount\': 2, \'interfaces\': \'lo,ens33\', \'memorysize\': 5925888, \'swapsize\': \'5.87 GB\', \'netmask\': \'255.255.255.0\', \'ipaddress\': \'192.168.100.110\', \'kernelmajversion\': \'3.10\', \'kernelversion\': \'3.10.0\', \'macaddress\': \'00:0C:29:7C:82:4A\', \'operatingsystemrelease\': \'7.6.1810\', \'uptime_hours\': \'12\', \'fqdn\': \'masternode\', \'architecture\': \'x86_64\', \'mounts\': [{\'available\': \'48890120\', \'used\': \'2600120\', \'percent\': \'6%\', \'device\': \'/dev/mapper/centos-root\', \'mountpoint\': \'/\', \'type\': \'xfs\', \'size\': \'51490240\'}]}, \'agentEnv\': {\'transparentHugePage\': \'\', \'hostHealth\': {\'agentTimeStampAtReporting\': 1553109938504, \'liveServices\': [{\'status\': \'Healthy\', \'name\': \'chronyd\', \'desc\': \'\'}]}, \'reverseLookup\': True, \'umask\': \'18\', \'hasUnlimitedJcePolicy\': None, \'alternatives\': [], \'firewallName\': \'iptables\', \'stackFoldersAndFiles\': [], \'existingUsers\': [{\'status\': \'Available\', \'name\': \'hadoop\', \'homeDir\': \'/home/hadoop\'}], \'firewallRunning\': False}, \'prefix\': \'/var/lib/ambari-agent/data\', \'agentVersion\': \'2.7.3.0\', \'agentStartTime\': 1553109937862, \'id\': -1}
INFO 2019-03-20 13:25:38,609 __init__.py:82 - Event from server at /user/ (correlation_id=0): {u\'status\': u\'OK\', u\'exitstatus\': 1, u\'log\': u\'Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException\
Internal Exception: org.postgresql.util.PSQLException: ERROR: el valor es demasiado largo para el tipo character varying(255)\
Error Code: 0\
Call: UPDATE hosts SET total_mem = ?, host_attributes = ?, public_host_name = ? WHERE (host_id = ?)\
\\tbind => [4 parameters bound]\
Query: UpdateObjectQuery(org.apache.ambari.server.orm.entities.HostStateEntity@1e2ae2c7)\', u\'id\': -1}
INFO 2019-03-20 13:25:38,649 HeartbeatThread.py:132 - Registration response received
ERROR 2019-03-20 13:25:38,650 HeartbeatThread.py:108 - Exception in HeartbeatThread. Re-running the registration
Traceback (most recent call last):
File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 95, in run
self.register()
File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 135, in register
self.handle_registration_response(response)
File "/usr/lib/ambari-agent/lib/ambari_agent/HeartbeatThread.py", line 209, in handle_registration_response
raise Exception(error_message)
Exception: Registration failed due to: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: ERROR: el valor es demasiado largo para el tipo character varying(255)
Error Code: 0
Call: UPDATE hosts SET total_mem = ?, host_attributes = ?, public_host_name = ? WHERE (host_id = ?)
\tbind => [4 parameters bound]
Query: UpdateObjectQuery(org.apache.ambari.server.orm.entities.HostStateEntity@1e2ae2c7)
INFO 2019-03-20 13:25:38,651 transport.py:358 - Receiver loop ended
', None)
Connection to masternode closed.
SSH command execution finished
host=masternode, exitcode=0
Command end time 2019-03-20 13:25:40
Registering with the server...
Registration with the server failed.