hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Acherkan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10898) MapWritable instances cannot be reused when containing different custom Writable classes.
Date Tue, 29 Jul 2014 09:15:38 GMT

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

Eli Acherkan updated HADOOP-10898:
----------------------------------

    Status: Open  (was: Patch Available)

> MapWritable instances cannot be reused when containing different custom Writable classes.
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10898
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10898
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>            Reporter: Eli Acherkan
>            Priority: Minor
>
> When a data stream contains several MapWritable instances, which contain instances of
several different custom classes (implementing Writable), attempting to reuse a single MapWritable
instance for reading the data stream results in an IllegalArgumentException. This happens
because AbstractMapWritable.readFields doesn't reset the classToIdMap/idToClassMap data structures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message