-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21633/
-----------------------------------------------------------
Review request for Ambari and Andrew Onischuk.
Bugs: AMBARI-5809
https://issues.apache.org/jira/browse/AMBARI-5809
Repository: ambari
Description
-------
While debugging a setup it was noticed that the hostname and reverse lookup did
not resolve to the same host name. This resulted in some weird behavior wrt.
agent registration - agent seems to re-register every few heartbeats. Ambari
should perform a host check (for both the server host and agent hosts) and
report if there is a discrepancy in the host name and reverse lookup.
Diffs
-----
ambari-agent/src/main/python/ambari_agent/HostInfo.py af6afa9
ambari-agent/src/test/python/ambari_agent/TestHostInfo.py 5272633
ambari-server/src/main/java/org/apache/ambari/server/agent/AgentEnv.java
912de7e
ambari-server/src/main/python/ambari-server.py 689a96d
Diff: https://reviews.apache.org/r/21633/diff/
Testing
-------
Thanks,
Dmytro Sen