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

Bertrand Dechoux commented on MRUNIT-139:
-----------------------------------------

Turns out that if all @Deprecated methods were to be removed it would be quite 
easy but if they should be kept (and yes, they should) it is non trivial...
                
> Remove duplicated set/add/withInput methods
> -------------------------------------------
>
>                 Key: MRUNIT-139
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-139
>             Project: MRUnit
>          Issue Type: Improvement
>            Reporter: Bertrand Dechoux
>            Assignee: Bertrand Dechoux
>            Priority: Minor
>
> Related to MRUNIT-137 : Remove duplicated set/add/withOutput methods 
> The input is quite similar : a key and a value, except that in the case of 
> the reducer the value is typed as a list of values.
> Mapper : f(a,b) => list<pair<c,d>>
> Reducer : f(a',list<b'>) => list<pair<c',d'>> 
> It would be nice to completely remove the duplication. And also, treating the 
> reduce input as an iterator over <k,v> rather than <k,list<v>> would be 
> closer to the implementation that mapreduce uses behind the scenes. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to