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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2.0, 3.0.0-alpha1
    • 2.3.0
    • datanode, test
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: