本文介绍了用MRUnit测试多个输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 有没有办法使用 对 MultipleOutputs 的支持看起来仍在继续 MRUnit Jira 。 子类化,以使其与 MultipleOutputs here ,希望有所帮助。 Is there a way to test a reduce class with MRUnit that uses MultipleOutputFormat to write to multiple output files? 解决方案 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. 这篇关于用MRUnit测试多个输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-26 13:41