hadoop-mapreduce-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: (MAPREDUCE-2223) TestMRCLI might fail on Ubuntu with default /etc/hosts
Date Wed, 22 Dec 2010 22:53:01 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974427#action_12974427
] 

Konstantin Boudnik commented on MAPREDUCE-2223:
-----------------------------------------------

Considering that the change is _very_ isolated and doesn't touch any source code I have ran
affected test only 
{noformat}
    [junit] Running org.apache.hadoop.cli.TestMRCLI
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 66.757 sec
{noformat}
and am going to commit it unless somebody has objection.

> TestMRCLI might fail on Ubuntu with default /etc/hosts
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-2223
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2223
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Minor
>         Attachments: MAPREDUCE-2223.patch
>
>
> 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