Bertrand Dechoux created MRUNIT-139:
---------------------------------------

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


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