org.apache.hadoop.chukwa.extraction.demux
Class Demux.MapClass
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.chukwa.extraction.demux.Demux.MapClass
- All Implemented Interfaces:
- Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<ChukwaArchiveKey,ChunkImpl,ChukwaRecordKey,ChukwaRecord>
- Enclosing class:
- Demux
public static class Demux.MapClass
- extends org.apache.hadoop.mapred.MapReduceBase
- implements org.apache.hadoop.mapred.Mapper<ChukwaArchiveKey,ChunkImpl,ChukwaRecordKey,ChukwaRecord>
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase |
close |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Demux.MapClass
public Demux.MapClass()
configure
public void configure(org.apache.hadoop.mapred.JobConf jobConf)
- Specified by:
configure
in interface org.apache.hadoop.mapred.JobConfigurable
- Overrides:
configure
in class org.apache.hadoop.mapred.MapReduceBase
map
public void map(ChukwaArchiveKey key,
ChunkImpl chunk,
org.apache.hadoop.mapred.OutputCollector<ChukwaRecordKey,ChukwaRecord> output,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
- Specified by:
map
in interface org.apache.hadoop.mapred.Mapper<ChukwaArchiveKey,ChunkImpl,ChukwaRecordKey,ChukwaRecord>
- Throws:
IOException
Copyright © ${year} The Apache Software Foundation