[ http://issues.apache.org/jira/browse/HADOOP-2?page=all ]
Owen O'Malley updated HADOOP-2:
-------------------------------
Attachment: clone-map-output.patch
This patch clones the keys and values before they are cached in the
CombiningCollector.
It adds a new method named WritableUtils.clone(Writable, JobConf) that copies
the the given Writable.
> Reused Keys and Values fail with a Combiner
> -------------------------------------------
>
> Key: HADOOP-2
> URL: http://issues.apache.org/jira/browse/HADOOP-2
> Project: Hadoop
> Type: Bug
> Components: mapred
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Fix For: 0.1
> Attachments: clone-map-output.patch
>
> If the map function reuses the key or value by destructively modifying it
> after the output.collect(key,value) call and your application uses a
> combiner, the data is corrupted by having lots of instances with the last key
> or value.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira