@InterfaceAudience.Public public class PutSortReducer extends org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,Put,ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue>
HFileOutputFormat2
,
CellSortReducer
Constructor and Description |
---|
PutSortReducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
reduce(ImmutableBytesWritable row,
Iterable<Put> puts,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
public PutSortReducer()
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,Put,ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue>
IOException
InterruptedException
protected void reduce(ImmutableBytesWritable row, Iterable<Put> puts, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,Put,ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue>
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.