hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5432) TestDatanodeJsp fails on Windows due to assumption that loopback address resolves to host name localhost.
Date Wed, 30 Oct 2013 18:45:26 GMT

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

Chris Nauroth updated HDFS-5432:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1
                   3.0.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I've committed this to trunk, branch-2, and branch-2.2.  Thanks to Vinay and Arpit for code
reviews.

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

Mime
View raw message