org.apache.hadoop.mapred.gridmix
Class SleepJob.SleepReducer

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.mapred.gridmix.GridmixKey,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
      extended by org.apache.hadoop.mapred.gridmix.SleepJob.SleepReducer
Enclosing class:
SleepJob

public static class SleepJob.SleepReducer
extends Reducer<org.apache.hadoop.mapred.gridmix.GridmixKey,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
Reducer.Context
 
Constructor Summary
SleepJob.SleepReducer()
           
 
Method Summary
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.
 
Methods inherited from class org.apache.hadoop.mapreduce.Reducer
reduce, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SleepJob.SleepReducer

public SleepJob.SleepReducer()
Method Detail

setup

protected void setup(Reducer.Context context)
              throws IOException,
                     InterruptedException
Description copied from class: Reducer
Called once at the start of the task.

Overrides:
setup in class Reducer<org.apache.hadoop.mapred.gridmix.GridmixKey,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Throws:
IOException
InterruptedException

cleanup

protected void cleanup(Reducer.Context context)
                throws IOException,
                       InterruptedException
Description copied from class: Reducer
Called once at the end of the task.

Overrides:
cleanup in class Reducer<org.apache.hadoop.mapred.gridmix.GridmixKey,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Throws:
IOException
InterruptedException


Copyright © 2009 The Apache Software Foundation