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

Jim Donofrio commented on MRUNIT-13:
------------------------------------

I am looking for some input on a good api for this. My current plan is to have 
the user's configure MultipleOutputs using the existing MultipleOutputs api, I 
think that for new features we add we should generally try to use as much of 
the hadoop api as possible to avoid confsuion and duplication.

The run method would still only return what goes to the regular 
outputcollector. There would be a separate multipleOutputsRun method to 
separate out the outputs. I am wondering though for the verification part, 
would you rather have withOutput(String namedOutput, K key, V value) and 
withOutput(String namedOutput, String multiNamedOutput, K key, V value) OR have 
users create some MultipleOutputsResults object which has a constructor for the 
named or multiNamedOutput name and then they call withOutput(K key, V value) on 
the MultipleOutputsResults object?
                
> Add support for MultipleOutputs
> -------------------------------
>
>                 Key: MRUNIT-13
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-13
>             Project: MRUnit
>          Issue Type: New Feature
>    Affects Versions: 0.5.0
>            Reporter: E. Sammer
>            Assignee: Jim Donofrio
>             Fix For: 1.0.0
>
>
> 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: 
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