You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2014/06/09 21:01:09 UTC

[jira] [Updated] (HADOOP-9099) NetUtils.normalizeHostName fails on domains where UnknownHost resolves to an IP address

     [ https://issues.apache.org/jira/browse/HADOOP-9099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron T. Myers updated HADOOP-9099:
-----------------------------------

    Fix Version/s:     (was: 3.0.0)
                   2.5.0

FYI, I've just put this in branch-2 as well.

> NetUtils.normalizeHostName fails on domains where UnknownHost resolves to an IP address
> ---------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9099
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, 1-win
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>             Fix For: 1.2.0, 1-win, 2.5.0
>
>         Attachments: HADOOP-9099.branch-1-win.patch, HADOOP-9099.trunk.patch
>
>
> I just hit this failure. We should use some more unique string for "UnknownHost":
> Testcase: testNormalizeHostName took 0.007 sec
> 	FAILED
> expected:<[65.53.5.181]> but was:<[UnknownHost]>
> junit.framework.AssertionFailedError: expected:<[65.53.5.181]> but was:<[UnknownHost]>
> 	at org.apache.hadoop.net.TestNetUtils.testNormalizeHostName(TestNetUtils.java:347)
> Will post a patch in a bit.



--
This message was sent by Atlassian JIRA
(v6.2#6252)