hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1406) TestCLI fails on Ubuntu with default /etc/hosts
Date Sat, 18 Dec 2010 03:11:01 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972735#action_12972735
] 

Konstantin Boudnik commented on HDFS-1406:
------------------------------------------

I have ran test-patch manually:
{noformat}
-1 overall.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 182 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    -1 release audit.  The applied patch generated 97 release audit warnings (more than the
trunk's current 1 warnings).  

    +1 system test framework.  The patch passed system test framework compile.
{noformat}

Ridiculous number of audit warnings are caused by HDFS-1511.

I am going to commit shortly unless there are objections. 
Also, I will open a similar JIRA for MR.


> TestCLI fails on Ubuntu with default /etc/hosts
> -----------------------------------------------
>
>                 Key: HDFS-1406
>                 URL: https://issues.apache.org/jira/browse/HDFS-1406
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.2, 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>             Fix For: 0.20.3, 0.21.1, 0.22.0, 0.23.0
>
>         Attachments: HDFS-1406.0.20.patch, HDFS-1406.patch, Test.java
>
>
> Depending on the order of entries in /etc/hosts, TestCLI can fail. This is because it
sets fs.default.name to "localhost", and then the bound IPC socket on the NN side reports
its hostname as "foobar-host" if the entry for 127.0.0.1 lists "foobar-host" before "localhost".
This seems to be the default in some versions of Ubuntu.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message