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

Bertrand Dechoux edited comment on MRUNIT-137 at 8/9/12 8:52 PM:
-----------------------------------------------------------------

Right! The output is always the same : a key and a value.

By the way, the input is quite similar too : a key and a value, except that in 
the case of the reducer the value is typed as a list of values.
But that would not worth the effort to render it generic, would it?

Mapper : f(a,b)=>list(c,d)
Reducer : f(a',list<b'>)=>list(c',d')
                
      was (Author: bdechoux):
    Right! The output is always the same : a key and a value.

By the way, the input is quite similar too : a key and a value, except that in 
the case of the reducer the value is typed as a list of values.
But that would not worth the effort to render it generic, would it?

Mapper : map(a,b)=>list(c,d)
Reducer : map(a',list<b'>)=>list(c',d')
                  
> Remove duplicated set/add/withOutput methods
> --------------------------------------------
>
>                 Key: MRUNIT-137
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-137
>             Project: MRUnit
>          Issue Type: Improvement
>    Affects Versions: 0.9.0
>            Reporter: Dave Beech
>            Assignee: Dave Beech
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> The output setting methods (addOutput, setOutput, withOutput etc) are 
> duplicated in all *DriverBase and PipelineMapReduceDriver classes. 
> Following MRUNIT-125, we should now put these in TestDriver. 

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