Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5432

TestDatanodeJsp fails on Windows due to assumption that loopback address resolves to host name localhost.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: datanode, test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.

      1. HDFS-5432.1.patch
        1 kB
        Chris Nauroth
      2. HDFS-5432.2.patch
        1 kB
        Chris Nauroth
      3. HDFS-5432.2.patch
        1 kB
        Chris Nauroth

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Chris Nauroth
            Reporter:
            Chris Nauroth
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development