hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmed Radwan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6215) Map is not cleared in SortedMapWritable.readFields(DataInput in)
Date Tue, 13 Jan 2015 23:07:35 GMT

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

Ahmed Radwan commented on MAPREDUCE-6215:
-----------------------------------------

Will do. Thanks Karthik!

> Map is not cleared in SortedMapWritable.readFields(DataInput in)
> ----------------------------------------------------------------
>
>                 Key: MAPREDUCE-6215
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6215
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv1, mrv2
>    Affects Versions: 2.6.0
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>         Attachments: apache-sortedMapWritable.patch
>
>
> The readFields(DataInput in) in SortedMapWritable doesn't reset the internally used SortedMap.
If this Writable object is reused then entries will get accumulated in the map with every
call of readFields().
> I have seen this behavior when using SequenceFileInputFormat. See  SequenceFileRecordReader.java
and SequenceFile.Reader.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message