You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Suman Sehgal (JIRA)" <ji...@apache.org> on 2009/07/23 13:31:15 UTC

[jira] Created: (MAPREDUCE-796) Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner

Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner
---------------------------------------------------------------------------------------------------

                 Key: MAPREDUCE-796
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-796
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: examples
    Affects Versions: 0.20.1
            Reporter: Suman Sehgal


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)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAPREDUCE-796) Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj Das resolved MAPREDUCE-796.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.1
     Hadoop Flags: [Reviewed]

I just committed this. Thanks, Amar!

> Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-796
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-796
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 0.20.1
>            Reporter: Suman Sehgal
>            Assignee: Amar Kamat
>             Fix For: 0.20.1
>
>         Attachments: MAPREDUCE-796-v1.0.patch
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAPREDUCE-796) Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj Das resolved MAPREDUCE-796.
-----------------------------------

    Resolution: Won't Fix

Looks like this is a problem caused by a combination of MultiThreadedMapRunner and enabling Native Compression. 

> Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-796
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-796
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 0.20.1
>            Reporter: Suman Sehgal
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (MAPREDUCE-796) Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amar Kamat reopened MAPREDUCE-796:
----------------------------------


> Encountered "ClassCastException" on tasktracker while running wordcount with MultithreadedMapRunner
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-796
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-796
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 0.20.1
>            Reporter: Suman Sehgal
>            Assignee: Amar Kamat
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.