| Package | Description |
|---|---|
| org.apache.hadoop.tools |
DistCp is a tool for replicating data using MapReduce jobs for concurrent
copy operations.
|
| org.apache.hadoop.tools.util |
| Modifier and Type | Method | Description |
|---|---|---|
FileListingEntry |
FileListingEntry.getParent() |
|
FileListingEntry |
FileListingEntry.setCopyListingFileStatus(java.util.LinkedList<CopyListingFileStatus> copyListingFileStatus) |
|
FileListingEntry |
FileListingEntry.setKeepLink(boolean keepLink) |
|
FileListingEntry |
FileListingEntry.setParent(FileListingEntry parent) |
|
FileListingEntry |
FileListingEntry.setSourceLinkPath(org.apache.hadoop.fs.Path sourceLinkPath) |
|
FileListingEntry |
FileListingEntry.setSourceRealPath(org.apache.hadoop.fs.FileStatus sourceRealPath) |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hadoop.io.Text |
CopyListing.getFileListingKey(FileListingEntry listingEntry,
CopyListingFileStatus fileStatus) |
Returns the key for an entry in the copy listing sequence file.
|
FileListingEntry |
FileListingEntry.setParent(FileListingEntry parent) |
| Modifier and Type | Method | Description |
|---|---|---|
static FileListingEntry |
DistCpUtils.getOriginalFileStatus(org.apache.hadoop.fs.FileStatus sourceStatus,
org.apache.hadoop.conf.Configuration conf,
boolean keepLinks,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> loopLocator) |
|
static FileListingEntry |
DistCpUtils.pathToFileListingEntry(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FileSystem fs) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
DistCpUtils.getRelativePath(FileListingEntry listingEntry) |
Gets relative path of child path with respect to a root path
For ex.
|
static java.lang.String |
DistCpUtils.getRelativePath(FileListingEntry root,
FileListingEntry child) |
|
static void |
DistCpUtils.toCopyListingFileStatus(org.apache.hadoop.fs.FileSystem fileSystem,
FileListingEntry listingEntry,
boolean preserveAcls,
boolean preserveXAttrs,
boolean preserveRawXAttrs,
int blocksPerChunk) |
Converts FileStatus to a list of CopyListingFileStatus.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.