public static class YtYJob.YtYReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
Constructor and Description |
---|
YtYReducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
reduce(org.apache.hadoop.io.IntWritable key,
Iterable<VectorWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context arg2) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
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.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
protected void cleanup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
cleanup
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
protected void reduce(org.apache.hadoop.io.IntWritable key, Iterable<VectorWritable> values, org.apache.hadoop.mapreduce.Reducer.Context arg2) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.