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

Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.20.1
    • Component/s: examples
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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.
    • Tags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: