Package org.apache.hadoop.hbase.mapred
Class TestMultiTableSnapshotInputFormat.Reducer
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
org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat.Reducer
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.io.Closeable
,org.apache.hadoop.mapred.JobConfigurable
,org.apache.hadoop.mapred.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>
- Enclosing class:
- TestMultiTableSnapshotInputFormat
public static class TestMultiTableSnapshotInputFormat.Reducer
extends MultiTableInputFormatTestBase.ScanReducer
implements org.apache.hadoop.mapred.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
-
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 TypeMethodDescriptionvoid
close()
Closes this stream and releases any system resources associated with it.void
configure
(org.apache.hadoop.mapred.JobConf jobConf) void
reduce
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterator<org.apache.hadoop.hbase.io.ImmutableBytesWritable> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> outputCollector, org.apache.hadoop.mapred.Reporter reporter) Methods inherited from class org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase.ScanReducer
cleanup, cleanup, makeAssertions, reduce
Methods inherited from class org.apache.hadoop.mapreduce.Reducer
run, setup
-
Field Details
-
jobConf
-
-
Constructor Details
-
Reducer
public Reducer()
-
-
Method Details
-
reduce
public void reduce(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterator<org.apache.hadoop.hbase.io.ImmutableBytesWritable> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> outputCollector, org.apache.hadoop.mapred.Reporter reporter) throws IOException- Specified by:
reduce
in interfaceorg.apache.hadoop.mapred.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
-
close
Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
- if an I/O error occurs
-
configure
- Specified by:
configure
in interfaceorg.apache.hadoop.mapred.JobConfigurable
-