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>
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.mapreduce.Counter |
refsChecked |
private org.apache.hadoop.mapreduce.Counter |
rowsWritten |
| Constructor and Description |
|---|
VerifyReducer() |
| Modifier and Type | Method and 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.Context ctx) |
void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
private org.apache.hadoop.mapreduce.Counter refsChecked
private org.apache.hadoop.mapreduce.Counter rowsWritten
public VerifyReducer()
public void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException
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>IOExceptionprotected void reduce(org.apache.hadoop.io.BytesWritable referredRow, Iterable<org.apache.hadoop.io.BytesWritable> referrers, org.apache.hadoop.mapreduce.Reducer.Context ctx) throws IOException, InterruptedException
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>IOExceptionInterruptedExceptionprivate String makeRowReadable(byte[] bytes, int length)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.