[
https://issues.apache.org/jira/browse/HADOOP-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577993#action_12577993
]
Hadoop QA commented on HADOOP-2983:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12377595/HOD_util_local_fqdn_AL_GRANTED.patch
against trunk revision 619744.
@author +1. The patch does not contain any @author tags.
tests included -1. The patch doesn't appear to include any new or modified
tests.
Please justify why no tests are needed for this patch.
javadoc +1. The javadoc tool did not generate any warning messages.
javac +1. The applied patch does not generate any new javac compiler
warnings.
release audit +1. The applied patch does not generate any new release
audit warnings.
findbugs +1. The patch does not introduce any new Findbugs warnings.
core tests -1. The patch failed core unit tests.
contrib tests +1. The patch passed contrib unit tests.
Test results:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1944/testReport/
Findbugs warnings:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1944/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1944/artifact/trunk/build/test/checkstyle-errors.html
Console output:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/1944/console
This message is automatically generated.
> [HOD] local_fqdn() returns None when gethostbyname_ex doesnt return any FQDNs.
> ------------------------------------------------------------------------------
>
> Key: HADOOP-2983
> URL: https://issues.apache.org/jira/browse/HADOOP-2983
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/hod
> Affects Versions: 0.16.0
> Environment: Linux, PBS
> Reporter: Craig Macdonald
> Attachments: HOD_util_local_fqdn.py,
> HOD_util_local_fqdn_AL_GRANTED.patch
>
>
> For some reason (probably in our local DNS setup) gethostbyname_ex() does not
> return any fully qualified hostnames. This has never been an issue,
> everything has worked fully with the hostnames.
> However, this causes HOD to fail, as local_fqn() in util.py returns None.
> {noformat}
> Python 2.5.1 (r251:54863, Sep 21 2007, 16:05:06)
> [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import socket, os
> >>> socket.gethostbyname_ex(os.uname()[1])
> ('bohol', [], ['130.209.252.70'])
> >>>
> {noformat}
> The solution is to fix local_fqdn in until.py, such that it falls back to the
> contents of the variable me if fqdn is still None.
> Ta muchly.
> Craig
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.