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

JobResourceUpdater#compareFs() doesn't handle HA namespaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.8.0, 3.0.0-alpha1
    • mrv2
    • None
    • 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.003.patch
          2 kB
          Ray Chiang
        2. MAPREDUCE-6121.002.patch
          13 kB
          Ray Chiang
        3. MAPREDUCE-6121.001.patch
          7 kB
          Ray Chiang

        Issue Links

          Activity

            People

              rchiang Ray Chiang
              tgraves Thomas Graves
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: