You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Radim Kolar (JIRA)" <ji...@apache.org> on 2012/12/06 19:47:09 UTC
[jira] [Updated] (MAPREDUCE-4851) add lifecycle to Comparators
[ https://issues.apache.org/jira/browse/MAPREDUCE-4851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radim Kolar updated MAPREDUCE-4851:
-----------------------------------
Hadoop Flags: (was: Incompatible change)
> add lifecycle to Comparators
> ----------------------------
>
> Key: MAPREDUCE-4851
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4851
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Reporter: Radim Kolar
> Labels: mrv2
>
> current mapreduce api is using RawComparator interface in:
> setGroupingComparatorClass
> setSortComparatorClass
> This interface has no lifecycle support. I propose to change that methods to take argument new class implements RawComparator with setup and cleanup methods.
> This will leave existing code with RawComparator alone, Providing some backward compatibility.
> new class:
> class SortComparator implements RawComparator
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira