org.apache.hadoop.examples.pi
Class DistSum.ReduceSide

java.lang.Object
  extended by org.apache.hadoop.examples.pi.DistSum.Machine
      extended by org.apache.hadoop.examples.pi.DistSum.ReduceSide
Enclosing class:
DistSum

public static class DistSum.ReduceSide
extends DistSum.Machine

A machine which does computation on the reduce side.


Nested Class Summary
static class DistSum.ReduceSide.IndexPartitioner
          Use the index for partitioning.
static class DistSum.ReduceSide.PartitionMapper
          A Mapper which partitions a summation
static class DistSum.ReduceSide.SummationInputFormat
          An InputFormat which returns a single summation.
static class DistSum.ReduceSide.SummingReducer
          A Reducer which computes sums
 
Nested classes/interfaces inherited from class org.apache.hadoop.examples.pi.DistSum.Machine
DistSum.Machine.AbstractInputFormat, DistSum.Machine.SummationSplit
 
Constructor Summary
DistSum.ReduceSide()
           
 
Method Summary
 void init(Job job)
          Initialize a job
 
Methods inherited from class org.apache.hadoop.examples.pi.DistSum.Machine
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistSum.ReduceSide

public DistSum.ReduceSide()
Method Detail

init

public void init(Job job)
Initialize a job



Copyright © 2009 The Apache Software Foundation