Is there a way to test a reduce class with MRUnit that uses MultipleOutputFormat to write to multiple output files?
Testing multiple outputs with MRUnit
3.8k Views Asked by David Parks At
2
There are 2 best solutions below
0
On
MRUnit 1.1.0 has been released in June 2014 (see http://mrunit.apache.org/)
This latest release includes support for MultipleOutputs (see https://issues.apache.org/jira/browse/MRUNIT-13)
It looks like support for
MultipleOutputsis still work in progress in the MRUnit Jira.That being said, I found someone who implemented his own drivers subclassing MRUnit's
MapReduceDriverto make it work withMultipleOutputshere, hope that helps.