public class MultithreadedMapRunner<K1,V1,K2,V2> extends java.lang.Object implements MapRunnable<K1,V1,K2,V2>
It can be used instead of the default implementation,
| Constructor and Description |
|---|
MultithreadedMapRunner() |
public void configure(JobConf jobConf)
JobConfigurableJobConf.configure in interface JobConfigurablejobConf - the configurationpublic void run(RecordReader<K1,V1> input, OutputCollector<K2,V2> output, Reporter reporter) throws java.io.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.java.io.IOExceptionCopyright © 2009 The Apache Software Foundation