Modifier | Constructor and Description |
---|---|
protected |
WALMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected boolean |
filter(org.apache.hadoop.mapreduce.Mapper.Context context,
Cell cell) |
void |
map(WALKey key,
WALEdit value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public void map(WALKey key, WALEdit value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
map
in class org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,Mutation>
IOException
protected boolean filter(org.apache.hadoop.mapreduce.Mapper.Context context, Cell cell)
protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
cleanup
in class org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,Mutation>
IOException
InterruptedException
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
setup
in class org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,Mutation>
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.