[
https://issues.apache.org/jira/browse/AMBARI-7765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382443#comment-14382443
]
Hudson commented on AMBARI-7765:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2123 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2123/])
Ambari-7765. HostInfo.fqdn could be wrong due to Python Issue5004 (Chuan Liu)
(smohanty:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cc69a00c33586b47355d23b2491d2a5a8e5b1d92)
* ambari-agent/src/main/python/ambari_agent/Facter.py
> 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
> Affects Versions: 1.7.0
> Reporter: Chuan Liu
> Assignee: Chuan Liu
> Fix For: 2.1.0
>
> Attachments: AMBARI-7765.1.patch, AMBARI-7765.2.patch,
> AMBARI-7765.3.patch, AMBARI-7765.4.patch, AMBARI-7765.patch
>
>
> 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)