public static class SleepJob.SleepReducer extends Reducer<org.apache.hadoop.mapred.gridmix.GridmixKey,NullWritable,NullWritable,NullWritable>
Reducer.Context
Constructor and Description |
---|
SleepJob.SleepReducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(Reducer.Context context)
Called once at the end of the task.
|
protected void |
setup(Reducer.Context context)
Called once at the start of the task.
|
protected void setup(Reducer.Context context) throws IOException, InterruptedException
Reducer
setup
in class Reducer<org.apache.hadoop.mapred.gridmix.GridmixKey,NullWritable,NullWritable,NullWritable>
IOException
InterruptedException
protected void cleanup(Reducer.Context context) throws IOException, InterruptedException
Reducer
cleanup
in class Reducer<org.apache.hadoop.mapred.gridmix.GridmixKey,NullWritable,NullWritable,NullWritable>
IOException
InterruptedException
Copyright © 2013 Apache Software Foundation. All rights reserved.