Class MapReduceHFileSplitterJob.HFileCellMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,Cell,ImmutableBytesWritable,Cell>
org.apache.hadoop.hbase.backup.mapreduce.MapReduceHFileSplitterJob.HFileCellMapper
- Enclosing class:
- MapReduceHFileSplitterJob
static class MapReduceHFileSplitterJob.HFileCellMapper
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,Cell,ImmutableBytesWritable,Cell>
A mapper that just writes out cells. This one can be used together with
CellSortReducer
-
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 TypeMethodDescriptionvoid
map
(org.apache.hadoop.io.NullWritable key, Cell value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, Cell, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) void
setup
(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, Cell, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
-
Constructor Details
-
HFileCellMapper
-
-
Method Details
-
map
public void map(org.apache.hadoop.io.NullWritable key, Cell value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, Cell, throws IOException, InterruptedExceptionImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
Cell, ImmutableBytesWritable, Cell> - Throws:
IOException
InterruptedException
-
setup
public void setup(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, Cell, throws IOExceptionImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
setup
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
Cell, ImmutableBytesWritable, Cell> - Throws:
IOException
-