You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Dave Beech (JIRA)" <ji...@apache.org> on 2012/09/07 12:36:07 UTC
[jira] [Resolved] (MRUNIT-135) How to test a TableMapper
with mrunit.
[ https://issues.apache.org/jira/browse/MRUNIT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Beech resolved MRUNIT-135.
-------------------------------
Resolution: Not A Problem
Fix Version/s: (was: 0.9.1)
Assignee: Dave Beech
I am able to use TableMapper in mrunit without compilation errors, so I am closing this. Tarun - if you still have problems, feel free to re-open.
> How to test a TableMapper<Text,Text> with mrunit.
> -------------------------------------------------
>
> Key: MRUNIT-135
> URL: https://issues.apache.org/jira/browse/MRUNIT-135
> Project: MRUnit
> Issue Type: Question
> Affects Versions: 0.9.0
> Reporter: Tarun Adiwal
> Assignee: Dave Beech
> Priority: Blocker
>
> Currently I am writing a unit test case using mrunit. My mapper is a TableMapper<Text,Text> and I am getting compilation error while setting my mapper to MapReducedriver/MapDriver.
> The MapDriver requires four argument <KEYIN,VALUEIN,KEYOUT,VALUEOUT> but my TableMapper has only two arguments <KEYOUT,VALUEOUT> and hence when setting mapper to MapDriver I am getting compilation error.
> Is there any way I can write testcase with TableMapper using mrunit?
> I am using mrunit-0.9.0.
> Kind Regards,
> Tarun
--
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