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

JobResourceUpdater#compareFs() doesn't handle HA namespaces

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Looking at the JobSubmitter.compareFs it doesn't look like it properly handles HA namespaces. The code tries to lookup the hostname using InetAddress.getByName, but if you are using namespaces this is going to fail and its going to copy the file when it doesn't need to.

      Edit: JobSubmitter was updated to JobResourceUpdater in MAPREDUCE-6267.

        Attachments

        1. MAPREDUCE-6121.001.patch
          7 kB
          Ray Chiang
        2. MAPREDUCE-6121.002.patch
          13 kB
          Ray Chiang
        3. MAPREDUCE-6121.003.patch
          2 kB
          Ray Chiang

          Issue Links

            Activity

              People

              • Assignee:
                rchiang Ray Chiang
                Reporter:
                tgraves Thomas Graves
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: