Package org.apache.hadoop.hbase.test
Class IntegrationTestLoadAndVerify.LoadMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify.LoadMapper
- Direct Known Subclasses:
IntegrationTestWithCellVisibilityLoadAndVerify.LoadWithCellVisibilityMapper
- Enclosing class:
- IntegrationTestLoadAndVerify
public static class IntegrationTestLoadAndVerify.LoadMapper
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.hadoop.conf.Configuration
protected org.apache.hadoop.hbase.client.Connection
protected org.apache.hadoop.hbase.client.BufferedMutator
protected int
protected long
protected org.apache.hadoop.mapreduce.Counter
protected org.apache.hadoop.mapreduce.Counter
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup
(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) protected void
map
(org.apache.hadoop.io.NullWritable key, org.apache.hadoop.io.NullWritable value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) void
setup
(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) Methods inherited from class org.apache.hadoop.mapreduce.Mapper
run
-
Field Details
-
recordsToWrite
-
connection
-
mutator
-
conf
-
numBackReferencesPerRow
-
shortTaskId
-
rowsWritten
-
refsWritten
-
-
Constructor Details
-
LoadMapper
public LoadMapper()
-
-
Method Details
-
setup
public void setup(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, throws IOExceptionorg.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
setup
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> - Throws:
IOException
-
cleanup
public void cleanup(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, throws IOExceptionorg.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
cleanup
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> - Throws:
IOException
-
map
protected void map(org.apache.hadoop.io.NullWritable key, org.apache.hadoop.io.NullWritable value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, throws IOException, InterruptedExceptionorg.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> - Throws:
IOException
InterruptedException
-