@InterfaceAudience.Public @InterfaceStability.Stable public class MapRunner<K1,V1,K2,V2> extends Object implements MapRunnable<K1,V1,K2,V2>
MapRunnable implementation.| Constructor and Description | 
|---|
MapRunner()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
configure(JobConf job)
Initializes a new instance from a  
JobConf. | 
protected Mapper<K1,V1,K2,V2> | 
getMapper()  | 
void | 
run(RecordReader<K1,V1> input,
   OutputCollector<K2,V2> output,
   Reporter reporter)
Start mapping input <key, value> pairs. 
 | 
public void configure(JobConf job)
JobConfigurableJobConf.configure in interface JobConfigurablejob - the configurationpublic void run(RecordReader<K1,V1> input, OutputCollector<K2,V2> output, Reporter reporter) throws IOException
MapRunnableMapping of input records to output records is complete when this method returns.
run in interface MapRunnable<K1,V1,K2,V2>input - the RecordReader to read the input records.output - the OutputCollector to collect the outputrecords.reporter - Reporter to report progress, status-updates etc.IOExceptionCopyright © 2017 Apache Software Foundation. All rights reserved.