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