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

    Fields
    Modifier and Type
    Field
    Description
    private String
     
    private String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • 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,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
      Overrides:
      reduce in class 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>
      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,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
      Overrides:
      cleanup in class 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>
      Throws:
      IOException
      InterruptedException
    • cleanup

      protected void cleanup(org.apache.hadoop.conf.Configuration c)