ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gaojun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-17847) ambari-agent register failed with HostNotFoundException: Host not found, hostname=
Date Fri, 22 Jul 2016 02:42:20 GMT
gaojun created AMBARI-17847:
-------------------------------

             Summary: ambari-agent register failed with HostNotFoundException: Host not found,
hostname=
                 Key: AMBARI-17847
                 URL: https://issues.apache.org/jira/browse/AMBARI-17847
             Project: Ambari
          Issue Type: Bug
          Components: 2.2.1
            Reporter: gaojun
            Priority: Blocker


At the 'Confirm Hosts' step , ambari-agent install successed but register failed.

20 Jul 2016 17:24:47,710  INFO [Thread-130] BSRunner:220 - Host= gmjk-bdc-b21,gmjk-bdc-b22,gmjk-bdc-b12,gmjk-bdc-b13,gmjk-bdc-b14,gmjk-bdc-b15,gmjk-bdc-b16,gmjk-bdc-b17,gmjk-bdc-b30,gmjk-bdc-b31,gmjk-bdc-b32,gmjk-bdc-b33,gmjk-bdc-b34,gmjk-bdc-b35,gmjk-bdc-b36
bs=/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py requestDir=/var/run/ambari-server/bootstrap/4
user=root keyfile=/var/run/ambari-server/bootstrap/4/sshKey passwordFile null server=gmjk-bdc-b22
version=2.2.1.0 serverPort=8080 userRunAs=root
20 Jul 2016 17:24:57,710  INFO [pool-11-thread-1] BSHostStatusCollector:55 - Request directory
/var/run/ambari-server/bootstrap/4
20 Jul 2016 17:24:57,711  INFO [pool-11-thread-1] BSHostStatusCollector:62 - HostList for
polling on [gmjk-bdc-b21, gmjk-bdc-b22, gmjk-bdc-b12, gmjk-bdc-b13, gmjk-bdc-b14, gmjk-bdc-b15,
gmjk-bdc-b16, gmjk-bdc-b17, gmjk-bdc-b30, gmjk-bdc-b31, gmjk-bdc-b32, gmjk-bdc-b33, gmjk-bdc-b34,
gmjk-bdc-b35, gmjk-bdc-b36]
20 Jul 2016 17:25:07,714  INFO [pool-11-thread-1] BSHostStatusCollector:55 - Request directory
/var/run/ambari-server/bootstrap/4
20 Jul 2016 17:25:07,714  INFO [pool-11-thread-1] BSHostStatusCollector:62 - HostList for
polling on [gmjk-bdc-b21, gmjk-bdc-b22, gmjk-bdc-b12, gmjk-bdc-b13, gmjk-bdc-b14, gmjk-bdc-b15,
gmjk-bdc-b16, gmjk-bdc-b17, gmjk-bdc-b30, gmjk-bdc-b31, gmjk-bdc-b32, gmjk-bdc-b33, gmjk-bdc-b34,
gmjk-bdc-b35, gmjk-bdc-b36]
20 Jul 2016 17:25:10,023  INFO [Thread-130] BSRunner:264 - Bootstrap output, log=/var/run/ambari-server/bootstrap/4/bootstrap.err
/var/run/ambari-server/bootstrap/4/bootstrap.out at gmjk-bdc-b22
20 Jul 2016 17:25:10,026  INFO [Thread-130] BSRunner:275 - Script log Mesg 

INFO:root:BootStrapping hosts ['gmjk-bdc-b21',
 'gmjk-bdc-b22',
 'gmjk-bdc-b12',
 'gmjk-bdc-b13',
 'gmjk-bdc-b14',
 'gmjk-bdc-b15',
 'gmjk-bdc-b16',
 'gmjk-bdc-b17',
 'gmjk-bdc-b30',
 'gmjk-bdc-b31',
 'gmjk-bdc-b32',
 'gmjk-bdc-b33',
 'gmjk-bdc-b34',
 'gmjk-bdc-b35',
 'gmjk-bdc-b36'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS:
redhat6 with user 'root' sshKey File /var/run/ambari-server/bootstrap/4/sshKey password File
null using tmp dir /var/run/ambari-server/bootstrap/4 ambari: gmjk-bdc-b22; server_port: 8080;
ambari version: 2.2.1.0; user_run_as: root
INFO:root:Executing parallel bootstrap
ERROR:root:ERROR: Bootstrap of host gmjk-bdc-b21 fails because previous action finished with
non-zero exit code (255)
ERROR MESSAGE: tcgetattr: Invalid argument
Connection to gmjk-bdc-b21 closed.

STDOUT: tput: unknown terminal "unknown"
tput: unknown terminal "unknown"
('WARNING 2016-07-20 16:05:46,843 NetUtil.py:89 - Failed to connect to https://gmjk-bdc-b21:8440/ca
due to [Errno 111] Connection refused  \nWARNING 2016-07-20 16:05:46,843 NetUtil.py:112 -
Server at https://gmjk-bdc-b21:8440 is not reachable, sleeping for 10 seconds...\nINFO 2016-07-20
16:05:56,843 NetUtil.py:60 - Connecting to https://gmjk-bdc-b21:8440/ca\nWARNING 2016-07-20
16:05:56,844 NetUtil.py:89 - Failed to connect to https://gmjk-bdc-b21:8440/ca due to [Errno
111] Connection refused  \nWARNING 2016-07-20 16:05:56,844 NetUtil.py:112 - Server at https://gmjk-bdc-b21:8440
is not reachable, sleeping for 10 

tcgetattr: Invalid argument
Connection to gmjk-bdc-b21 closed.

INFO:root:Finished parallel bootstrap

20 Jul 2016 17:25:10,027  INFO [pool-11-thread-1] BSHostStatusCollector:55 - Request directory
/var/run/ambari-server/bootstrap/4
20 Jul 2016 17:25:10,027  INFO [pool-11-thread-1] BSHostStatusCollector:62 - HostList for
polling on [gmjk-bdc-b21, gmjk-bdc-b22, gmjk-bdc-b12, gmjk-bdc-b13, gmjk-bdc-b14, gmjk-bdc-b15,
gmjk-bdc-b16, gmjk-bdc-b17, gmjk-bdc-b30, gmjk-bdc-b31, gmjk-bdc-b32, gmjk-bdc-b33, gmjk-bdc-b34,
gmjk-bdc-b35, gmjk-bdc-b36]
20 Jul 2016 17:27:18,328 ERROR [qtp-ambari-client-170] AbstractResourceProvider:280 - Caught
AmbariException when creating a resource
org.apache.ambari.server.HostNotFoundException: Host not found, hostname=
	at org.apache.ambari.server.state.cluster.ClustersImpl.getHost(ClustersImpl.java:370)
	at org.apache.ambari.server.state.ConfigHelper.getEffectiveDesiredTags(ConfigHelper.java:107)
	at org.apache.ambari.server.controller.AmbariManagementControllerImpl.findConfigurationTagsWithOverrides(AmbariManagementControllerImpl.java:1876)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message