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.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VerifyReplication.Verifier
Map-only comparator for 2 tables
|
| 构造器和说明 |
|---|
VerifyReplication() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.mapreduce.Job |
createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
String[] args)
Sets up the actual job.
|
static void |
main(String[] args)
Main entry point.
|
int |
run(String[] args) |
public static 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 int run(String[] args) throws Exception
run 在接口中 org.apache.hadoop.util.ToolExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.