Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 764
David Parks Avatar asked Jan 20 '13 09:01

David Parks


Video Answer


2 Answers

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.

like image 59
Charles Menguy Avatar answered Oct 17 '22 09:10

Charles Menguy


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)

like image 32
Géraud Avatar answered Oct 17 '22 09:10

Géraud