public static class DiffTables.DiffTableMapper extends org.apache.hadoop.mapreduce.Mapper<org.ojai.Value,com.mapr.db.rowcol.DBDocumentImpl,com.mapr.db.mapreduce.impl.ByteBufWritableComparable,com.mapr.db.mapreduce.impl.ByteBufWritableComparable> implements FailureTracker
| Constructor and Description |
|---|
DiffTables.DiffTableMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
map(org.ojai.Value key,
com.mapr.db.rowcol.DBDocumentImpl value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
notifyMismatch() |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
boolean |
shouldExit() |
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException
setup in class org.apache.hadoop.mapreduce.Mapper<org.ojai.Value,com.mapr.db.rowcol.DBDocumentImpl,com.mapr.db.mapreduce.impl.ByteBufWritableComparable,com.mapr.db.mapreduce.impl.ByteBufWritableComparable>IOExceptionpublic void map(org.ojai.Value key,
com.mapr.db.rowcol.DBDocumentImpl value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.ojai.Value,com.mapr.db.rowcol.DBDocumentImpl,com.mapr.db.mapreduce.impl.ByteBufWritableComparable,com.mapr.db.mapreduce.impl.ByteBufWritableComparable>IOExceptionInterruptedExceptionpublic void notifyMismatch()
notifyMismatch in interface FailureTrackerpublic boolean shouldExit()
shouldExit in interface FailureTrackerprotected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
cleanup in class org.apache.hadoop.mapreduce.Mapper<org.ojai.Value,com.mapr.db.rowcol.DBDocumentImpl,com.mapr.db.mapreduce.impl.ByteBufWritableComparable,com.mapr.db.mapreduce.impl.ByteBufWritableComparable>IOExceptionInterruptedExceptionCopyright © 2016 Mapr Technologies, Inc.. All rights reserved.