Testing multiple outputs with MRUnit

老子叫甜甜 提交于 2019-12-14 03:45:06

问题


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


回答1:


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.




回答2:


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)



来源:https://stackoverflow.com/questions/14423054/testing-multiple-outputs-with-mrunit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!