You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2014/05/19 18:42:10 UTC

Review Request 21633: Usability: Ensure that hostname (fqdn) and reverse lookup resolve to the same name - this host checkup should be done for server and agent hosts

-----------------------------------------------------------
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


Re: Review Request 21633: Usability: Ensure that hostname (fqdn) and reverse lookup resolve to the same name - this host checkup should be done for server and agent hosts

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21633/#review43366
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On May 19, 2014, 4:46 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21633/
> -----------------------------------------------------------
> 
> (Updated May 19, 2014, 4:46 p.m.)
> 
> 
> 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
> -------
> 
> 
> ----------------------------------------------------------------------
> Ran 282 tests in 6.395s
> 
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 21633: Usability: Ensure that hostname (fqdn) and reverse lookup resolve to the same name - this host checkup should be done for server and agent hosts

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21633/
-----------------------------------------------------------

(Updated May 19, 2014, 4:46 p.m.)


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 (updated)
-------


----------------------------------------------------------------------
Ran 282 tests in 6.395s

OK


Thanks,

Dmytro Sen