public class DistCpV1 extends Object implements 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(Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(Configuration conf,
String srcPath,
String destPath,
Path logPath,
boolean srcAsList,
boolean ignoreReadFailures)
Deprecated.
|
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(Configuration conf) |
public DistCpV1(Configuration conf)
public void setConf(Configuration conf)
setConf in interface Configurablepublic Configuration getConf()
getConf in interface Configurable@Deprecated public static void copy(Configuration conf, String srcPath, String destPath, Path logPath, boolean srcAsList, boolean ignoreReadFailures) throws IOException
IOExceptionpublic int run(String[] args)
public static String getRandomId()
Copyright © 2018 CERN. All Rights Reserved.