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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0, 3.0.0-alpha1
    • mr-am
    • None
    • 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.001.patch
          5 kB
          Sangjin Lee
        2. MAPREDUCE-6293.002.patch
          5 kB
          Sangjin Lee
        3. MAPREDUCE-6293.003.patch
          6 kB
          Sangjin Lee

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: