Tarun Adiwal created MRUNIT-135:
-----------------------------------

             Summary: 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
            Priority: Blocker
             Fix For: 0.9.1


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