Uploaded image for project: '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
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 3.0.0-alpha1
    • 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.

        Attachments

        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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: