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

Job.addArchiveToClassPath is ignored when running job with LocalJobRunner

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: test
    • Labels:

      Description

      Using external dependency jar in mr job. Adding it to the job classpath via Job.addArchiveToClassPath(...) doesn't work when running with LocalJobRunner (i.e. in unit test). This makes it harder to unit-test such jobs (with third-party runtime dependencies).

      1. MAPREDUCE-5097.patch
        1 kB
        Alex Baranau
      2. MAPREDUCE-5097-ugly-test.patch
        7 kB
        Alex Baranau

        Activity

          People

          • Assignee:
            Alex Baranau
            Reporter:
            Alex Baranau
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development