Testing multiple outputs with MRUnit

2019-06-18 05:10发布

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

2条回答
姐就是有狂的资本
2楼-- · 2019-06-18 05:34

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.

查看更多
Lonely孤独者°
3楼-- · 2019-06-18 05:51

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)

查看更多
登录 后发表回答