[
https://issues.apache.org/jira/browse/HDFS-5432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13807004#comment-13807004
]
Arpit Agarwal commented on HDFS-5432:
-------------------------------------
+1 for the patch.
Verified results with and without your patch on Windows.
> TestDatanodeJsp fails on Windows due to assumption that loopback address
> resolves to host name localhost.
> ---------------------------------------------------------------------------------------------------------
>
> Key: HDFS-5432
> URL: https://issues.apache.org/jira/browse/HDFS-5432
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode, test
> Affects Versions: 3.0.0, 2.2.0
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Trivial
> Attachments: HDFS-5432.1.patch
>
>
> As discussed in many previous issues, Windows differs from Unixes in that it
> does not resolve the loopback address to hostname "localhost". Instead, the
> host name remains unresolved as "127.0.0.1". {{TestDatanodeJsp}} fails on
> Windows, because it attempts to assert a string match containing "localhost"
> as the host name.
--
This message was sent by Atlassian JIRA
(v6.1#6144)