public class DistCp extends Object implements Tool
限定符和类型 | 类和说明 |
---|---|
static class |
DistCp.DuplicationException
An exception class for duplicated source files.
|
限定符和类型 | 字段和说明 |
---|---|
static org.apache.commons.logging.Log |
LOG |
构造器和说明 |
---|
DistCp(Configuration conf) |
限定符和类型 | 方法和说明 |
---|---|
static void |
copy(Configuration conf,
String srcPath,
String destPath,
Path logPath,
boolean srcAsList,
boolean ignoreReadFailures)
已过时。
|
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 DistCp(Configuration conf)
public void setConf(Configuration conf)
Configurable
setConf
在接口中 Configurable
public Configuration getConf()
Configurable
getConf
在接口中 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 © 2009 The Apache Software Foundation