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

Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.1
    • 0.20.1
    • examples
    • None
    • Reviewed
    • Multithreaded mapper was modified to create a new Runtime exception (object) from a throwable instead of casting a throwable into a RuntimeException, once the Multithreaded map encounters a fault.
    • ygridqa

    Description

      ClassCastException for OutOfMemoryError is encountered on tasktracker while running wordcount example with MultithreadedMapRunner.

      Stack trace :
      =========
      java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.RuntimeException
      at org.apache.hadoop.mapreduce.lib.map.MultithreadedMapper.run(MultithreadedMapper.java:149)
      at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:581)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:303)
      at org.apache.hadoop.mapred.Child.main(Child.java:170)

      Attachments

        1. MAPREDUCE-796-v1.0.patch
          0.6 kB
          Amar Kamat

        Activity

          People

            amar_kamat Amar Kamat
            sumanshg Suman Sehgal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: