You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2014/10/13 22:03:37 UTC

[jira] [Created] (AMBARI-7765) HostInfo.fqdn could be wrong due to Python Issue5004

Chuan Liu created AMBARI-7765:
---------------------------------

             Summary: HostInfo.fqdn could be wrong due to Python Issue5004
                 Key: AMBARI-7765
                 URL: https://issues.apache.org/jira/browse/AMBARI-7765
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
            Reporter: Chuan Liu


The HostInfo in the Ambari agent hearbeat could be wrong. This may lead to registration failure. The fqdn in HostInfo is from Facter.getFqdn(). Facter.getFqdn() calls the Python API {{socket.getfqdn()}} to get the fqdn. This, due to the Python [Issue5004|http://bugs.python.org/issue5004|], could fail to get the real fqdn if there is no correct entry in "/etc/hosts" file, because the Python implementation calls an obsolete OS API. More details on the Python issue can be found its bug report. 



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