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

MiniMRClientClusterFactory should not use job.setJar()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.2-alpha
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently, MiniMRClientClusterFactory does job.setJar(callerJar) so that the callerJar is added to the cache in MR2. However, this makes the resulting configuration inconsistent between MR1 and MR2 as in MR1 the job jar is not set and in MR2 its set to the callerJar. This difference can also cause some tests to fail in Oozie. We should instead use the job.addCacheFile() method.

        Attachments

        1. MAPREDUCE-4642.patch
          1 kB
          Robert Kanter
        2. MAPREDUCE-4642.patch
          1.0 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: