Class IntegrationTestLoadAndVerify.VerifyReducer

java.lang.Object
org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify.VerifyReducer
Enclosing class:
IntegrationTestLoadAndVerify

public static class IntegrationTestLoadAndVerify.VerifyReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
  • 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.mapreduce.Counter
     
    private org.apache.hadoop.mapreduce.Counter
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private String
    makeRowReadable(byte[] bytes, int length)
     
    protected void
    reduce(org.apache.hadoop.io.BytesWritable referredRow, Iterable<org.apache.hadoop.io.BytesWritable> referrers, org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>.org.apache.hadoop.mapreduce.Reducer.Context ctx)
     
    void
    setup(org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>.org.apache.hadoop.mapreduce.Reducer.Context context)
     

    Methods inherited from class org.apache.hadoop.mapreduce.Reducer

    cleanup, run

    Methods inherited from class java.lang.Object

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

    • refsChecked

      private org.apache.hadoop.mapreduce.Counter refsChecked
    • rowsWritten

      private org.apache.hadoop.mapreduce.Counter rowsWritten
  • Constructor Details

  • Method Details

    • setup

      public void setup(org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>.org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException
      Overrides:
      setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
      Throws:
      IOException
    • reduce

      protected void reduce(org.apache.hadoop.io.BytesWritable referredRow, Iterable<org.apache.hadoop.io.BytesWritable> referrers, org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>.org.apache.hadoop.mapreduce.Reducer.Context ctx) throws IOException, InterruptedException
      Overrides:
      reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
      Throws:
      IOException
      InterruptedException
    • makeRowReadable

      private String makeRowReadable(byte[] bytes, int length)