Is there a way to test a reduce class with MRUnit
that uses MultipleOutputFormat
to write to multiple output files?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
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 withMultipleOutputs
here, hope that helps.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)