mrunit-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haijia Zhou <haz...@adobe.com>
Subject How to use custom mock inputsplit for mapper or reducer
Date Thu, 08 Nov 2012 21:22:54 GMT
Is there anyway to use custom mock inputslipt object for mapper or reducer?
The MockInputSplit comes with MRUnit is a FileInputSplit and only returns "somefile" as the
path name.
In my mapper/reducer the data are coming from different files and the business logic are based
on input file names.

Any help is appreciated.

Thanks
Haijia 
Mime
View raw message