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 Wed, 01 Dec 2010 00:33:11 GMT

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

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

I have seen the same issue running Herriot system tests where the framework couldn't connect
to a datanode exactly because of this reason.

> 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: 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