hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7021) MapWritable NullPointerException
Date Wed, 16 Nov 2011 01:26:51 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150951#comment-13150951
] 

Doug Cutting commented on HADOOP-7021:
--------------------------------------

I assigned it to you.  Can you now transition it back to Patch Available?

The best way to get some attention is to send a message to the dev mailing list, politely
asking for someone to please look at this.  I will try to have a look at it in a few days
if I have a chance.
                
> MapWritable NullPointerException
> --------------------------------
>
>                 Key: HADOOP-7021
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7021
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.20.1, 0.21.0
>         Environment: Hadoop 0.20.1, Centos
>            Reporter: John Lee
>            Assignee: John Lee
>            Priority: Minor
>             Fix For: 0.20.1
>
>         Attachments: HADOOP-7021.patch, HADOOP-7021.patch, HADOOP-7021.patch
>
>
> We have encountered a NullPointerException when we use MapWritable with custom Writable
objects.
> The root cause is the counter newClasses in AbstractMapWritable is allowed to get out
of sync with the id to class mapping tables when addToMap(Class) is called.  We have a patch
to AbstractMapWritable.addToMap(Class) that handles the case when newClasses gets out of sync
with the id to class mapping tables and adds a serialization optimization to minimize the
number of class names to write out per MapWritable object.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message