public class DistCpV1 extends Object implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
DistCpV1.DuplicationException
An exception class for duplicated source files.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
DistCpV1(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(org.apache.hadoop.conf.Configuration conf,
String srcPath,
String destPath,
org.apache.hadoop.fs.Path logPath,
boolean srcAsList,
boolean ignoreReadFailures)
Deprecated.
|
org.apache.hadoop.conf.Configuration |
getConf() |
static String |
getRandomId() |
static void |
main(String[] args) |
int |
run(String[] args)
This is the main driver for recursively copying directories
across file systems.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurable@Deprecated public static void copy(org.apache.hadoop.conf.Configuration conf, String srcPath, String destPath, org.apache.hadoop.fs.Path logPath, boolean srcAsList, boolean ignoreReadFailures) throws IOException
IOExceptionpublic int run(String[] args)
run in interface org.apache.hadoop.util.Toolpublic static String getRandomId()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.