ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7765) HostInfo.fqdn could be wrong due to Python Issue5004
Date Wed, 25 Mar 2015 18:20:56 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-7765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380406#comment-14380406
] 

Hadoop QA commented on AMBARI-7765:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12707257/AMBARI-7765.4.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2138//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2138//console

This message is automatically generated.

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

Mime
View raw message