public abstract static class HadoopUtility.MapReduceBase<K1,V1,K2,V2,K3,V3> extends Object implements org.apache.hadoop.mapred.Mapper<K1,V1,K2,V2>, org.apache.hadoop.mapred.Reducer<K2,V2,K3,V3>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.mapred.JobConf |
jc |
| Constructor and Description |
|---|
HadoopUtility.MapReduceBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called at end of map or reduce task.
|
protected abstract void |
closeMap() |
protected abstract void |
closeReduce() |
void |
configure(org.apache.hadoop.mapred.JobConf _jc) |
protected abstract void |
configureMap() |
protected abstract void |
configureReduce() |
public void configure(org.apache.hadoop.mapred.JobConf _jc)
configure in interface org.apache.hadoop.mapred.JobConfigurableprotected abstract void configureMap()
throws IOException
IOExceptionprotected abstract void configureReduce()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected abstract void closeMap()
throws IOException
IOExceptionprotected abstract void closeReduce()
throws IOException
IOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow