hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1775) MapWritable and SortedMapWritable - Writable problems
Date Wed, 29 Aug 2007 18:04:36 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting updated HADOOP-1775:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Jim!

> MapWritable and SortedMapWritable - Writable problems
> -----------------------------------------------------
>
>                 Key: HADOOP-1775
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1775
>             Project: Hadoop
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.15.0
>            Reporter: Jim Kellerman
>            Assignee: Jim Kellerman
>             Fix For: 0.15.0
>
>         Attachments: patch.txt, patch.txt
>
>
> When using the Writable interface for MapWritable and SortedMapWritable there are two
errors:
> - in readFields, if there are a number of entries of a class that is not one of the "predefined"
classes, the following exception is thrown:
> java.lang.IllegalArgumentException: Class <not predefined class name> already registered
> - readFields did not set the number of non-predefined classes. Consequently, making a
copy of a copy that had entries of non-predefined  classes would fail because the second copy
would not receive the mapping from id to class and a NullPointerException would be thrown

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


Mime
View raw message