javahadoopmapreducereducersmrunit

Testing multiple outputs with MRUnit


Is there a way to test a reduce class with MRUnit that uses MultipleOutputFormat to write to multiple output files?


Solution

  • It looks like support for MultipleOutputs is still work in progress in the MRUnit Jira.

    That being said, I found someone who implemented his own drivers subclassing MRUnit's MapReduceDriver to make it work with MultipleOutputs here, hope that helps.