Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1406

TestCLI fails on Ubuntu with default /etc/hosts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.2, 0.21.0, 0.22.0
    • Fix Version/s: 0.20.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Depending on the order of entries in /etc/hosts, TestCLI can fail. This is because it sets fs.default.name to "localhost", and then the bound IPC socket on the NN side reports its hostname as "foobar-host" if the entry for 127.0.0.1 lists "foobar-host" before "localhost". This seems to be the default in some versions of Ubuntu.

        Attachments

        1. HDFS-1406.0.20.patch
          22 kB
          Konstantin I Boudnik
        2. HDFS-1406.patch
          129 kB
          Konstantin I Boudnik
        3. Test.java
          0.8 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                cos Konstantin I Boudnik
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: