public class PairEmitCounter extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
| Constructor and Description |
|---|
PairEmitCounter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reduce(org.apache.hadoop.io.BytesWritable timeB,
Iterable<org.apache.hadoop.io.BytesWritable> paircounts,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
public PairEmitCounter()
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>IOExceptionInterruptedExceptionprotected void reduce(org.apache.hadoop.io.BytesWritable timeB, Iterable<org.apache.hadoop.io.BytesWritable> paircounts, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>IOExceptionInterruptedException