Class MapReduceHFileSplitterJob.HFileCellMapper
- Enclosing class:
- MapReduceHFileSplitterJob
static class MapReduceHFileSplitterJob.HFileCellMapper
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,Cell,org.apache.hadoop.io.WritableComparable<?>,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
-
Field Summary
Fields -
Constructor Summary
Constructors -
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, org.apache.hadoop.io.WritableComparable<?>, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) void
setup
(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, Cell, org.apache.hadoop.io.WritableComparable<?>, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) private org.apache.hadoop.io.WritableComparable<?>
wrap
(ExtendedCell cell) Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
-
Field Details
-
diskBasedSortingEnabled
-
-
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, InterruptedExceptionorg.apache.hadoop.io.WritableComparable<?>, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
Cell, org.apache.hadoop.io.WritableComparable<?>, Cell> - Throws:
IOException
InterruptedException
-
setup
public void setup(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, Cell, throws IOExceptionorg.apache.hadoop.io.WritableComparable<?>, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
setup
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
Cell, org.apache.hadoop.io.WritableComparable<?>, Cell> - Throws:
IOException
-
wrap
-