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

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

and a similar fix needs to be done 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
>            Priority: Minor
>         Attachments: 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.

Reply via email to