[
https://issues.apache.org/jira/browse/MRUNIT-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424555#comment-13424555
]
James Kinley commented on MRUNIT-64:
------------------------------------
Hi Brock,
The addInput() methods for the MapDriver and ReduceDriver are added by this
patch, so I don't think these tests are valid in the current API. The MapDriver
and ReduceDriver have setInput(), setInputKey(), and setInputValue() only,
which I have deprecated.
The MapReduceDriver does have withInput() / addInput() but I've not changed how
this works, just supplemented them with withAll() / addAll() and allowed the
entire list to be passed to the mapper / reducer (so it doesn't have to create
a new instance for each record).
James.
> Multiple Input Key, Value Pairs should be supported
> ---------------------------------------------------
>
> Key: MRUNIT-64
> URL: https://issues.apache.org/jira/browse/MRUNIT-64
> Project: MRUnit
> Issue Type: Sub-task
> Affects Versions: 0.8.1
> Reporter: Brock Noland
> Assignee: James Kinley
> Attachments: MRUNIT-64-v1.patch, MRUNIT-64.patch
>
>
> The comments on MRUNIT-14 brought up a great point. The API today only allows
> a single key value pair input. In many scenarios multiple inputs would be
> useful.
--
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