Class IntegrationTestBulkLoad.LinkedListCheckingMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,KEYOUT,VALUEOUT>
org.apache.hadoop.hbase.mapreduce.TableMapper<IntegrationTestBulkLoad.LinkKey,IntegrationTestBulkLoad.LinkChain>
org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.LinkedListCheckingMapper
- Enclosing class:
- IntegrationTestBulkLoad
public static class IntegrationTestBulkLoad.LinkedListCheckingMapper
extends org.apache.hadoop.hbase.mapreduce.TableMapper<IntegrationTestBulkLoad.LinkKey,IntegrationTestBulkLoad.LinkChain>
Mapper to pass over the table. For every row there could be multiple chains that landed on this
row. So emit a linkKey and value for each.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
map
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Result, IntegrationTestBulkLoad.LinkKey, IntegrationTestBulkLoad.LinkChain>.org.apache.hadoop.mapreduce.Mapper.Context context) Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run, setup
-
Constructor Details
-
LinkedListCheckingMapper
public LinkedListCheckingMapper()
-
-
Method Details
-
map
protected void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Result, throws IOException, InterruptedExceptionIntegrationTestBulkLoad.LinkKey, IntegrationTestBulkLoad.LinkChain>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
org.apache.hadoop.hbase.client.Result, IntegrationTestBulkLoad.LinkKey, IntegrationTestBulkLoad.LinkChain> - Throws:
IOException
InterruptedException
-