public static class VerifyReplication.Verifier extends TableMapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Put>
| Modifier and Type | Class and Description |
|---|---|
static class |
VerifyReplication.Verifier.Counters |
| Constructor and Description |
|---|
Verifier() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
map(org.apache.hadoop.hbase.io.ImmutableBytesWritable row,
org.apache.hadoop.hbase.client.Result value,
org.apache.hadoop.mapreduce.Mapper.Context context)
Map method that compares every scanned row with the equivalent from
a distant cluster.
|
public void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable row,
org.apache.hadoop.hbase.client.Result value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Put>row - The current table row key.value - The columns.context - The current context.IOException - When something is broken with the data.protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
cleanup in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Put>Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.