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

Set job classloader on uber-job's LocalContainerLauncher event thread

    Details

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

      Description

      An uberized job fails if the job classloader is enabled and the job needs to use the thread context classloader to load a class. Some example error in the log:

      2015-03-23 23:28:34,675 INFO [main] org.apache.hadoop.mapreduce.v2.util.MRApps: Creating job classloader
      ...
      2015-03-23 23:28:42,096 ERROR [uber-SubtaskRunner] cascading.provider.ServiceLoader: unable to find service class: cascading.tuple.hadoop.collect.HadoopTupleMapFactory, with exception: java.lang.ClassNotFoundException: cascading.tuple.hadoop.collect.HadoopTupleMapFactory

        Attachments

        1. MAPREDUCE-6293.003.patch
          6 kB
          Sangjin Lee
        2. MAPREDUCE-6293.002.patch
          5 kB
          Sangjin Lee
        3. MAPREDUCE-6293.001.patch
          5 kB
          Sangjin Lee

          Activity

            People

            • Assignee:
              sjlee0 Sangjin Lee
              Reporter:
              sjlee0 Sangjin Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: