public class VerifyReplication
extends Configured
Two counters are provided, Verifier.Counters.GOODROWS and BADROWS. The reason for a why a row is different is shown in the map's log.
| Modifier and Type | Class and Description |
|---|---|
static class |
VerifyReplication.Verifier
Map-only comparator for 2 tables
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
VerifyReplication() |
| Modifier and Type | Method and Description |
|---|---|
static Job |
createSubmittableJob(Configuration conf,
java.lang.String[] args)
Sets up the actual job.
|
static void |
main(java.lang.String[] args)
Main entry point.
|
int |
run(java.lang.String[] args) |
public static final java.lang.String NAME
public static Job createSubmittableJob(Configuration conf,
java.lang.String[] args)
throws java.io.IOException
conf - The current configuration.args - The command line parameters.java.io.IOException - When setting up the job fails.public int run(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - The command line parameters.java.lang.Exception - When running the job fails.