Uses of Class
org.apache.hadoop.mrunit.TestDriver

Packages that use TestDriver
org.apache.hadoop.mrunit
 

Uses of TestDriver in org.apache.hadoop.mrunit
 

Subclasses of TestDriver in org.apache.hadoop.mrunit
 class MapDriver<K1,V1,K2,V2>
          Harness that allows you to test a Mapper instance.
 class MapDriverBase<K1,V1,K2,V2>
          Harness that allows you to test a Mapper instance.
 class MapReduceDriver<K1,V1,K2,V2,K3,V3>
          Harness that allows you to test a Mapper and a Reducer instance together (along with an optional combiner).
 class MapReduceDriverBase<K1,V1,K2,V2,K3,V3>
          Harness that allows you to test a Mapper and a Reducer instance together You provide the input key and value that should be sent to the Mapper, and outputs you expect to be sent by the Reducer to the collector for those inputs.
 class PipelineMapReduceDriver<K1,V1,K2,V2>
          Harness that allows you to test a dataflow through a set of Mappers and Reducers.
 class ReduceDriver<K1,V1,K2,V2>
          Harness that allows you to test a Reducer instance.
 class ReduceDriverBase<K1,V1,K2,V2>
          Harness that allows you to test a Reducer instance.
 

Methods in org.apache.hadoop.mrunit that return TestDriver
 TestDriver<K1,V1,K2,V2> TestDriver.withCounter(Enum e, long expectedValue)
          Register expected enumeration based counter value
 TestDriver<K1,V1,K2,V2> TestDriver.withCounter(String group, String name, long expectedValue)
          Register expected name based counter value
 



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.