de.hpi.fgis.voidgen.hadoop.tasks.clusterinformation
Class ClusterInfoStep2Reducer

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,SPCntTriple,org.apache.hadoop.io.Text,Description>
      extended by de.hpi.fgis.voidgen.hadoop.tasks.clusterinformation.ClusterInfoStep2Reducer

public class ClusterInfoStep2Reducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,SPCntTriple,org.apache.hadoop.io.Text,Description>

Creates sample and textual description of a cluster.

Author:
Dandy Fenz, Hasso Plattner Institute at University of Potsdam, Germany, Matthias Pohl, Hasso Plattner Institute at University of Potsdam, Germany, Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
org.apache.hadoop.mapreduce.Reducer.Context
 
Constructor Summary
ClusterInfoStep2Reducer()
           
 
Method Summary
 void reduce(org.apache.hadoop.io.Text key, java.lang.Iterable<SPCntTriple> values, org.apache.hadoop.mapreduce.Reducer.Context context)
           
 void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Reducer
cleanup, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterInfoStep2Reducer

public ClusterInfoStep2Reducer()
Method Detail

setup

public void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
Overrides:
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,SPCntTriple,org.apache.hadoop.io.Text,Description>

reduce

public void reduce(org.apache.hadoop.io.Text key,
                   java.lang.Iterable<SPCntTriple> values,
                   org.apache.hadoop.mapreduce.Reducer.Context context)
            throws java.io.IOException,
                   java.lang.InterruptedException
Overrides:
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,SPCntTriple,org.apache.hadoop.io.Text,Description>
Throws:
java.io.IOException
java.lang.InterruptedException