public static class IntegrationTestWithCellVisibilityLoadAndVerify.VerifyMapper extends org.apache.hadoop.hbase.mapreduce.TableMapper<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.mapreduce.Counter |
rowsExp1 |
private org.apache.hadoop.mapreduce.Counter |
rowsExp2 |
private org.apache.hadoop.mapreduce.Counter |
rowsExp3 |
private org.apache.hadoop.mapreduce.Counter |
rowsExp4 |
Constructor and Description |
---|
VerifyMapper() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.mapreduce.Counter |
getCounter(byte[] row) |
protected void |
map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key,
org.apache.hadoop.hbase.client.Result value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
private org.apache.hadoop.mapreduce.Counter rowsExp1
private org.apache.hadoop.mapreduce.Counter rowsExp2
private org.apache.hadoop.mapreduce.Counter rowsExp3
private org.apache.hadoop.mapreduce.Counter rowsExp4
public VerifyMapper()
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
setup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
IOException
protected void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
IOException
InterruptedException
private org.apache.hadoop.mapreduce.Counter getCounter(byte[] row)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.