Member since
09-03-2015
10
Posts
0
Kudos Received
0
Solutions
05-12-2016
10:19 AM
its ambari 1.6 ,reset is post ambari2.1 I checked few things: I see below rows in ambari-postgres DB ambari=# select host_name from ambari.hosts;
host_name
---------------------
mxspdh16.amdocs.com
mxspdh10.amdocs.com
mxspdh18.amdocs.com
mxspdh17.amdocs.com
mxspdh10.mx.amdocs.com
(5 rows) ambari=# select * from ambari.hoststate ;
agent_version | available_mem | current_state | health_status | host_name | time_in_state | maintenance_state ---------------------+---------------+---------------+----------------------------------------------+---------------------+---------------+------------------
-
{"version":"1.7.0"} | 31623084 | INIT | {"healthStatus":"HEALTHY","healthReport":""} | mxspdh10.mx.amdocs.com | 1463041598424 |
{"version":"1.7.0"} | 31792512 | INIT | {"healthStatus":"UNKNOWN","healthReport":""} | mxspdh10.amdocs.com | 1462368178266 | {"4":"OFF"}
{"version":"1.7.0"} | 28241364 | INIT | {"healthStatus":"HEALTHY","healthReport":""} | mxspdh16.amdocs.com | 1463040523426 |
{"version":"1.7.0"} | 28890788 | INIT | {"healthStatus":"HEALTHY","healthReport":""} | mxspdh18.amdocs.com | 1463040527465 |
{"version":"1.7.0"} | 29281736 | INIT | {"healthStatus":"HEALTHY","healthReport":""} | mxspdh17.amdocs.com | 1463040528044 |
(5 rows)
ambari=# delete from ambari.hoststate where host_name='mxspdh10.mx.amdocs.com';
DELETE 1 I delete both rows.
But on restart ambari these two rows again gets populated.
Please see why we are getting mxspdh10.mx.amdocs.com ???
... View more
05-12-2016
08:45 AM
Seems IT changed domain name, updated /etc/host and resolv.conf to reflect old fqdn name.But restart cluster was failing with Failed on local exception: java.io.IOException:
java.lang.IllegalArgumentException: Server has invalid Kerberos principal: nn/mxspdh10.amdocs.com@MXSPDH10.KERBEROS.COM; Host Details : local host is:
"mxspdh10.mx.amdocs.com/135.208.66.57"; destination host is:
"mxspdh10.amdocs.com":8020; Local host is .mx.amdocs.com and expected was amdocs.com. After resolv.conf chnage ,tried rebooting cluster ,but post that facing ambari-agent heartbeat issues.Same error as shared in the forum.Suggession pls.
... View more