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/09/13 16:12:07 UTC

[jira] [Commented] (MAPREDUCE-4594) Add init/shutdown methods to Partitioner and RawComparator

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

Radim Kolar commented on MAPREDUCE-4594:
----------------------------------------

What about to convert RawComparator from interface to class?
                
> Add init/shutdown methods to Partitioner and RawComparator
> ----------------------------------------------------------
>
>                 Key: MAPREDUCE-4594
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4594
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: trunk
>            Reporter: Radim Kolar
>
> The Partitioner and the RawComparator interfaces/extension points support only the Configurable API, which can be used for basic
> init in setConf(). Problem is that there is no shutdown function.
> I propose to use standard setup() cleanup() functions like in mapper / reducer.
> Use case is that I need to start and stop spring context and datagrid client.

--
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