Package | Description |
---|---|
org.apache.hadoop.tools |
Command-line tools for MapReduce.
|
org.apache.hadoop.tools.util |
Modifier and Type | Method and Description |
---|---|
protected DistCpOptions |
DistCpOptions.clone() |
static DistCpOptions |
OptionsParser.parse(String[] args)
The parse method parses the command-line options, and creates
a corresponding Options object.
|
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
void |
GlobbedCopyListing.doBuildListing(Path pathToListingFile,
DistCpOptions options)
Implementation of CopyListing::buildListing().
|
static CopyListing |
CopyListing.getCopyListing(Configuration configuration,
Credentials credentials,
DistCpOptions options)
Public Factory method with which the appropriate CopyListing implementation may be retrieved.
|
protected void |
SimpleCopyListing.validatePaths(DistCpOptions options) |
protected void |
FileBasedCopyListing.validatePaths(DistCpOptions options)
Validate input and output paths
|
protected abstract void |
CopyListing.validatePaths(DistCpOptions options)
Validate input and output paths
|
protected void |
GlobbedCopyListing.validatePaths(DistCpOptions options)
Validate input and output paths
|
Constructor and Description |
---|
DistCp(Configuration configuration,
DistCpOptions inputOptions)
Public Constructor.
|
DistCpOptions(DistCpOptions that)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends InputFormat> |
DistCpUtils.getStrategy(Configuration conf,
DistCpOptions options)
Returns the class that implements a copy strategy.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.