You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mrunit.apache.org by Krzysztof Krason <kr...@gmail.com> on 2014/11/06 18:51:45 UTC

Testing with custom MapOutputCollector

Helli,
I'm trying to write a test that uses a custom MapOutputCollector by setting
Configuration in MapReduceDriver:
driver.getConfiguration().set("mapreduce.job.map.output.collector.class",
MyClass.class.getCanonicalName());

But when I run my test the class is not used. On the other hand when I
operate on Job directly and not use MRUnit it works as expected.

So my question is: is it possible to use custom MapOutputCollector with
MRUnit 1.1.0?

Regards,
Krzysztof Krason