You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "David Parks (JIRA)" <ji...@apache.org> on 2013/02/01 03:25:13 UTC

[jira] [Commented] (MRUNIT-13) Add support for MultipleOutputs

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

David Parks commented on MRUNIT-13:
-----------------------------------

Is there a particular way to package a "patch" here? I haven't committed code to this project before, so right now I just have the source and am not quite sure how to submit it here.

In the interim, realizing that this format is incorrect, I've attached a zip file containing the classes I've changed, containing:
MapDriver          - Added runWtihMultipleOutputs() and tweaked setMapper to use the MockMapperWrapper class
ReduceDriver     - Added runWithMultipleOutputs() and tweaked setReducer to use the MockReducerWrapper class

MapReduceOutput - Model object storing context outputs as well as multiple outputs

MockMapperWrapper
MockReducerWrapper - wrappers for the users Mapper/Reducer classes (note, I've only implemented one of the 4 write methods of MultipleOutputs, I'll do the others, just didn't need them immediately, trivial to do).

MultipleOutputsForMRUnitTest - My unit test of the functionality
DummyMapper - Used in my unit test
DummyReducer - Used in my unit test
                
> Add support for MultipleOutputs
> -------------------------------
>
>                 Key: MRUNIT-13
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-13
>             Project: MRUnit
>          Issue Type: New Feature
>            Reporter: E. Sammer
>            Assignee: Jim Donofrio
>         Attachments: mapreduce.zip
>
>
> Add support to mrunit for Hadoop's MultipleOutputs.

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