[
https://issues.apache.org/jira/browse/MRUNIT-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Dechoux reassigned MRUNIT-139:
---------------------------------------
Assignee: Bertrand Dechoux
> 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