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()
Return the configuration used by this object.
|
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)
Set the configuration to be used by this object.
|
public DistCpV1(Configuration conf)
public void setConf(Configuration conf)
Configurable
setConf
in interface Configurable
public Configuration getConf()
Configurable
getConf
in interface Configurable
@Deprecated public static void copy(Configuration conf, String srcPath, String destPath, Path logPath, boolean srcAsList, boolean ignoreReadFailures) throws IOException
IOException
public int run(String[] args)
public static String getRandomId()
Copyright © 2013 Apache Software Foundation. All rights reserved.