[
https://issues.apache.org/jira/browse/HDFS-5432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810220#comment-13810220
]
Hudson commented on HDFS-5432:
------------------------------
FAILURE: Integrated in Hadoop-Mapreduce-trunk #1595 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1595/])
HDFS-5432. TestDatanodeJsp fails on Windows due to assumption that loopback
address resolves to host name localhost. Contributed by Chris Nauroth.
(cnauroth:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1537230)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDatanodeJsp.java
> 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
> Fix For: 3.0.0, 2.2.1
>
> Attachments: HDFS-5432.1.patch, HDFS-5432.2.patch, HDFS-5432.2.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)