ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Mitic (JIRA)" <>
Subject [jira] [Updated] (AMBARI-7765) HostInfo.fqdn could be wrong due to Python Issue5004
Date Wed, 14 Jan 2015 05:59:34 GMT


Ivan Mitic updated AMBARI-7765:
    Attachment: AMBARI-7765.2.patch

Rebasing against latest trunk on behalf of [~chuanliu]

> HostInfo.fqdn could be wrong due to Python Issue5004
> ----------------------------------------------------
>                 Key: AMBARI-7765
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 1.7.0
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>             Fix For: 2.0.0
>         Attachments: AMBARI-7765.1.patch, AMBARI-7765.2.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||],
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

View raw message