Package org.apache.hadoop.hbase.test
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
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.mapreduce.Counter
private org.apache.hadoop.mapreduce.Counter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
-
Field Details
-
refsChecked
-
rowsWritten
-
-
Constructor Details
-
VerifyReducer
public VerifyReducer()
-
-
Method Details
-
setup
public void setup(org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable, org.apache.hadoop.io.BytesWritable, throws IOExceptionorg.apache.hadoop.io.Text, org.apache.hadoop.io.Text>.org.apache.hadoop.mapreduce.Reducer.Context context) - Overrides:
setup
in classorg.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, throws IOException, InterruptedExceptionorg.apache.hadoop.io.Text, org.apache.hadoop.io.Text>.org.apache.hadoop.mapreduce.Reducer.Context ctx) - Overrides:
reduce
in classorg.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
-