Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2223

TestMRCLI might fail on Ubuntu with default /etc/hosts

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

      1. MAPREDUCE-2223.patch
        0.7 kB
        Konstantin Boudnik

        Issue Links

          Activity

          Konstantin Boudnik created issue -
          Konstantin Boudnik made changes -
          Field Original Value New Value
          Link This issue is a clone of HDFS-1406 [ HDFS-1406 ]
          Konstantin Boudnik made changes -
          Project Hadoop HDFS [ 12310942 ] Hadoop Map/Reduce [ 12310941 ]
          Key HDFS-1546 MAPREDUCE-2223
          Affects Version/s 0.23.0 [ 12315570 ]
          Affects Version/s 0.21.0 [ 12314046 ]
          Affects Version/s 0.20.2 [ 12314204 ]
          Affects Version/s 0.22.0 [ 12314241 ]
          Fix Version/s 0.22.0 [ 12314241 ]
          Fix Version/s 0.20.3 [ 12314814 ]
          Fix Version/s 0.21.1 [ 12315271 ]
          Fix Version/s 0.23.0 [ 12315571 ]
          Konstantin Boudnik made changes -
          Summary CLONE -TestCLI fails on Ubuntu with default /etc/hosts TestMRCLI might fail on Ubuntu with default /etc/hosts
          Konstantin Boudnik made changes -
          Attachment MAPREDUCE-2223.patch [ 12466524 ]
          Konstantin Boudnik made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.21.1 [ 12315272 ]
          Resolution Fixed [ 1 ]
          Konstantin Boudnik made changes -
          Affects Version/s 0.21.1 [ 12315272 ]
          Affects Version/s 0.23.0 [ 12315570 ]
          Component/s test [ 12312904 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development