protected static class WALPlayer.WALMapper extends org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,Mutation>
Mutation
to be directly applied to
a running HBase instance.Modifier and Type | Field and Description |
---|---|
private Map<TableName,TableName> |
tables |
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) |
protected WALMapper()
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 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–2020 The Apache Software Foundation. All rights reserved.