[ https://issues.apache.org/jira/browse/HADOOP-10898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15633919#comment-15633919 ]
Vinicius Maciel Sant' Ana commented on HADOOP-10898: ---------------------------------------------------- Hey there, Eli Acherkan. Your issue is a duplicate from https://issues.apache.org/jira/browse/HADOOP-9295 The author there had the same problem and proposed a similar solution, maybe you can help there. > 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 > Attachments: HADOOP-10898.patch > > > 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.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org