Class KeyValueSortReducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,KeyValue,ImmutableBytesWritable,KeyValue>
org.apache.hadoop.hbase.mapreduce.KeyValueSortReducer
@Deprecated
@Public
public class KeyValueSortReducer
extends org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,KeyValue,ImmutableBytesWritable,KeyValue>
Deprecated.
Emits sorted KeyValues. Reads in all KeyValues from passed Iterator, sorts them, then emits
KeyValues in sorted order. If lots of columns per row, it will use lots of memory sorting.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
org.apache.hadoop.mapreduce.Reducer.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
reduce
(ImmutableBytesWritable row, Iterable<KeyValue> kvs, org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable, KeyValue, ImmutableBytesWritable, KeyValue>.org.apache.hadoop.mapreduce.Reducer.Context context) Deprecated.Methods inherited from class org.apache.hadoop.mapreduce.Reducer
cleanup, run, setup
-
Constructor Details
-
KeyValueSortReducer
public KeyValueSortReducer()Deprecated.
-
-
Method Details
-
reduce
protected void reduce(ImmutableBytesWritable row, Iterable<KeyValue> kvs, org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable, KeyValue, throws IOException, InterruptedExceptionImmutableBytesWritable, KeyValue>.org.apache.hadoop.mapreduce.Reducer.Context context) Deprecated.- Overrides:
reduce
in classorg.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,
KeyValue, ImmutableBytesWritable, KeyValue> - Throws:
IOException
InterruptedException
-
CellSortReducer
. Will be removed from 3.0 onwards