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

TestCLI fails on Ubuntu with default /etc/hosts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.20.2, 0.21.0, 0.22.0
    • 0.20.3
    • None
    • None
    • 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. Test.java
          0.8 kB
          Todd Lipcon
        2. HDFS-1406.patch
          129 kB
          Konstantin I Boudnik
        3. HDFS-1406.0.20.patch
          22 kB
          Konstantin I Boudnik

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: