public static class KMeansMapReduce.KMeansCombiner extends org.apache.hadoop.mapreduce.Reducer<GroupIDText,org.apache.hadoop.io.BytesWritable,GroupIDText,org.apache.hadoop.io.BytesWritable>
Constructor and Description |
---|
KMeansCombiner() |
Modifier and Type | Method and Description |
---|---|
void |
reduce(GroupIDText key,
Iterable<org.apache.hadoop.io.BytesWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
public void reduce(GroupIDText key, Iterable<org.apache.hadoop.io.BytesWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<GroupIDText,org.apache.hadoop.io.BytesWritable,GroupIDText,org.apache.hadoop.io.BytesWritable>
IOException
InterruptedException
Copyright © 2013–2022. All rights reserved.