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 TypeMethodDescriptionvoidmap(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) voidsetup(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:
mapin classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,Cell, org.apache.hadoop.io.WritableComparable<?>, Cell> - Throws:
IOExceptionInterruptedException
-
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:
setupin classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,Cell, org.apache.hadoop.io.WritableComparable<?>, Cell> - Throws:
IOException
-
wrap
-