@InterfaceAudience.Private
public class VerifyReplication
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
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
|
Constructor and Description |
---|
VerifyReplication() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.Job |
createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
String[] args)
Sets up the actual job.
|
boolean |
doCommandLine(String[] args) |
static void |
main(String[] args)
Main entry point.
|
int |
run(String[] args) |
public static final String NAME
public org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf, String[] args) throws IOException
conf
- The current configuration.args
- The command line parameters.IOException
- When setting up the job fails.public boolean doCommandLine(String[] args)
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2007–2019 Cloudera. All rights reserved.