程序包 | 说明 |
---|---|
org.apache.hadoop.tools.distcp2 | |
org.apache.hadoop.tools.distcp2.util |
限定符和类型 | 方法和说明 |
---|---|
protected DistCpOptions |
DistCpOptions.clone() |
static DistCpOptions |
OptionsParser.parse(String[] args)
The parse method parses the command-line options, and creates
a corresponding Options object.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CopyListing.buildListing(Path pathToListFile,
DistCpOptions options)
Build listing function creates the input listing that distcp uses to
perform the copy.
|
void |
SimpleCopyListing.doBuildListing(Path pathToListingFile,
DistCpOptions options)
The interface to be implemented by sub-classes, to create the source/target file listing.
|
void |
GlobbedCopyListing.doBuildListing(Path pathToListingFile,
DistCpOptions options)
Implementation of CopyListing::buildListing().
|
void |
FileBasedCopyListing.doBuildListing(Path pathToListFile,
DistCpOptions options)
Implementation of CopyListing::buildListing().
|
protected abstract void |
CopyListing.doBuildListing(Path pathToListFile,
DistCpOptions options)
The interface to be implemented by sub-classes, to create the source/target file listing.
|
static CopyListing |
CopyListing.getCopyListing(Configuration configuration,
Credentials credentials,
DistCpOptions options)
Public Factory method with which the appropriate CopyListing implementation may be retrieved.
|
protected boolean |
SimpleCopyListing.shouldCopy(Path path,
DistCpOptions options)
Provide an option to skip copy of a path, Allows for exclusion
of files such as
FileOutputCommitter.SUCCEEDED_FILE_NAME |
protected void |
SimpleCopyListing.validatePaths(DistCpOptions options) |
protected void |
GlobbedCopyListing.validatePaths(DistCpOptions options)
Validate input and output paths
|
protected void |
FileBasedCopyListing.validatePaths(DistCpOptions options)
Validate input and output paths
|
protected abstract void |
CopyListing.validatePaths(DistCpOptions options)
Validate input and output paths
|
构造器和说明 |
---|
DistCp(Configuration configuration,
DistCpOptions inputOptions)
Public Constructor.
|
DistCpOptions(DistCpOptions that)
Copy constructor.
|
限定符和类型 | 方法和说明 |
---|---|
static Class<? extends InputFormat> |
DistCpUtils.getStrategy(Configuration conf,
DistCpOptions options)
Returns the class that implements a copy strategy.
|
Copyright © 2009 The Apache Software Foundation