|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.util.CopyFiles
public class CopyFiles
A Map-reduce program to recursively copy directories between different file-systems.
| Nested Class Summary | |
|---|---|
static class |
CopyFiles.DuplicationException
An exception class for duplicated source files. |
| Constructor Summary | |
|---|---|
CopyFiles(Configuration conf)
|
|
| Method Summary | |
|---|---|
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 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopyFiles(Configuration conf)
| Method Detail |
|---|
public void setConf(Configuration conf)
Configurable
setConf in interface Configurablepublic 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)
throws Exception
run in interface Toolargs - command specific arguments.
Exception
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||