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

Job.addArchiveToClassPath is ignored when running job with LocalJobRunner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • test

    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).

      Attachments

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

        Activity

          People

            alexb Alex Baranau
            alexb Alex Baranau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: