public static class IntegrationTestLoadCommonCrawl.Verify.VerifyMapper extends org.apache.hadoop.mapreduce.Mapper<IntegrationTestLoadCommonCrawl.HBaseKeyWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hbase.client.Connection |
conn |
protected org.apache.hadoop.hbase.client.Table |
table |
Constructor and Description |
---|
VerifyMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
map(IntegrationTestLoadCommonCrawl.HBaseKeyWritable key,
org.apache.hadoop.io.BytesWritable value,
org.apache.hadoop.mapreduce.Mapper.Context output) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected org.apache.hadoop.hbase.client.Connection conn
protected org.apache.hadoop.hbase.client.Table table
public VerifyMapper()
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<IntegrationTestLoadCommonCrawl.HBaseKeyWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
cleanup
in class org.apache.hadoop.mapreduce.Mapper<IntegrationTestLoadCommonCrawl.HBaseKeyWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
protected void map(IntegrationTestLoadCommonCrawl.HBaseKeyWritable key, org.apache.hadoop.io.BytesWritable value, org.apache.hadoop.mapreduce.Mapper.Context output) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<IntegrationTestLoadCommonCrawl.HBaseKeyWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.