public class ReplicationMigrationTool extends Object implements org.apache.hadoop.util.Tool
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ReplicationMigrationTool() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
static void |
main(String[] args) |
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration configuration) |
boolean |
validateAtFileLevel(org.apache.hadoop.fs.Path srcDir,
org.apache.hadoop.fs.Path tgtDir,
org.apache.hadoop.fs.FileSystem srcFs,
org.apache.hadoop.fs.FileSystem tgtFs,
List<Pattern> filtersPattern,
boolean verifyChecksum,
ThreadPoolExecutor threadPoolChecksum) |
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic boolean validateAtFileLevel(org.apache.hadoop.fs.Path srcDir,
org.apache.hadoop.fs.Path tgtDir,
org.apache.hadoop.fs.FileSystem srcFs,
org.apache.hadoop.fs.FileSystem tgtFs,
List<Pattern> filtersPattern,
boolean verifyChecksum,
ThreadPoolExecutor threadPoolChecksum)
throws Exception
Exceptionpublic void setConf(org.apache.hadoop.conf.Configuration configuration)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2022 The Apache Software Foundation. All rights reserved.