mrunit-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krzysztof Krason <krzysztof.kra...@gmail.com>
Subject Testing with custom MapOutputCollector
Date Thu, 06 Nov 2014 17:51:45 GMT
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

Mime
View raw message