Class MultiTableInputFormatTestBase.ScanReducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase.ScanReducer
- Direct Known Subclasses:
TestMultiTableSnapshotInputFormat.Reducer
- Enclosing class:
- MultiTableInputFormatTestBase
public static class MultiTableInputFormatTestBase.ScanReducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Checks the last and first keys seen against the scanner boundaries.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
org.apache.hadoop.mapreduce.Reducer.Context
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
cleanup
(org.apache.hadoop.conf.Configuration c) protected void
cleanup
(org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Reducer.Context context) protected void
makeAssertions
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterable<org.apache.hadoop.hbase.io.ImmutableBytesWritable> values) protected void
reduce
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterable<org.apache.hadoop.hbase.io.ImmutableBytesWritable> values, org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Reducer.Context context) Methods inherited from class org.apache.hadoop.mapreduce.Reducer
run, setup
-
Field Details
-
first
-
last
-
-
Constructor Details
-
ScanReducer
public ScanReducer()
-
-
Method Details
-
reduce
protected void reduce(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterable<org.apache.hadoop.hbase.io.ImmutableBytesWritable> values, org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.io.ImmutableBytesWritable, throws IOException, InterruptedExceptionorg.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Reducer.Context context) - Overrides:
reduce
in classorg.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> - Throws:
IOException
InterruptedException
-
makeAssertions
protected void makeAssertions(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterable<org.apache.hadoop.hbase.io.ImmutableBytesWritable> values) -
cleanup
protected void cleanup(org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.io.ImmutableBytesWritable, throws IOException, InterruptedExceptionorg.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Reducer.Context context) - Overrides:
cleanup
in classorg.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> - Throws:
IOException
InterruptedException
-
cleanup
-