|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapred.lib.MultithreadedMapRunner<K1,V1,K2,V2>
public class MultithreadedMapRunner<K1,V1,K2,V2>
Multithreaded implementation for @link org.apache.hadoop.mapred.MapRunnable.
It can be used instead of the default implementation,
Constructor Summary | |
---|---|
MultithreadedMapRunner()
|
Method Summary | |
---|---|
void |
configure(JobConf jobConf)
Initializes a new instance from a JobConf . |
void |
run(RecordReader<K1,V1> input,
OutputCollector<K2,V2> output,
Reporter reporter)
Start mapping input <key, value> pairs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultithreadedMapRunner()
Method Detail |
---|
public void configure(JobConf jobConf)
JobConfigurable
JobConf
.
configure
in interface JobConfigurable
jobConf
- 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
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.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |