[
https://issues.apache.org/jira/browse/HDFS-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Boudnik resolved HDFS-1406.
--------------------------------------
Resolution: Fixed
Fix Version/s: (was: 0.23.0)
(was: 0.21.1)
(was: 0.22.0)
Hadoop Flags: [Reviewed]
I have committed this all the was from 0.20.3 and up.
> 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
>
> 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.