Does MRUnit also work with cdh3 version? We are currently using cdh3 but in the examples I see it's all using new context class.
-
Re: Hadoop MRUnit
Jim Donofrio 2012-08-07, 00:46
I think you mean does MRUnit support the old mapred api. cdh3 includes both the old mapred api and new mapreduce api. Yes MRUnit supports both mapred and mapreduce. Use the classes in org.apache.hadoop.mrunit.{MapDriver, ReduceDriver, MapReduceDriver} for the old mapred api and the classes in org.apache.hadoop.mrunit.mapreduce.{MapDriver, ReduceDriver, MapReduceDriver} for the new mapreduce api
BCCing hadoop user list.
On 08/06/2012 08:03 PM, Mohit Anchlia wrote: > Does MRUnit also work with cdh3 version? We are currently using cdh3 but in > the examples I see it's all using new context class. >
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext