public class MapRunner<K1,V1,K2,V2> extends Object implements MapRunnable<K1,V1,K2,V2>
MapRunnable
implementation.public void configure(JobConf job)
JobConfigurable
JobConf
.configure
在接口中 JobConfigurable
job
- the configurationpublic void run(RecordReader<K1,V1> input, OutputCollector<K2,V2> output, Reporter reporter) throws IOException
MapRunnable
Mapping of input records to output records is complete when this method returns.
run
在接口中 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.IOException
Copyright © 2009 The Apache Software Foundation