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

    Fields
    Modifier and Type
    Field
    Description
    private org.apache.hadoop.mapred.JobConf
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • jobConf

      private org.apache.hadoop.mapred.JobConf jobConf
  • Constructor Details

  • 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 interface 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>
      Throws:
      IOException
    • close

      public void close() throws IOException
      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 interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException - if an I/O error occurs
    • configure

      public void configure(org.apache.hadoop.mapred.JobConf jobConf)
      Specified by:
      configure in interface org.apache.hadoop.mapred.JobConfigurable