Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2223

TestMRCLI might fail on Ubuntu with default /etc/hosts

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.21.1
    • Fix Version/s: 0.21.1
    • Component/s: test
    • 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. MAPREDUCE-2223.patch
          0.7 kB
          Konstantin Boudnik

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: