| 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 |
|---|---|---|
static DistCpOptions.FileAttribute |
DistCpOptions.FileAttribute.getAttribute(char symbol) |
|
static DistCpOptions.FileAttribute |
DistCpOptions.FileAttribute.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DistCpOptions.FileAttribute[] |
DistCpOptions.FileAttribute.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<DistCpOptions.FileAttribute> |
DistCpContext.getPreserveAttributes() |
|
java.util.Set<DistCpOptions.FileAttribute> |
DistCpOptions.getPreserveAttributes() |
| Modifier and Type | Method | Description |
|---|---|---|
DistCpOptions.Builder |
DistCpOptions.Builder.preserve(DistCpOptions.FileAttribute attribute) |
|
boolean |
DistCpContext.shouldPreserve(DistCpOptions.FileAttribute attribute) |
|
boolean |
DistCpOptions.shouldPreserve(DistCpOptions.FileAttribute attribute) |
Checks if the input attribute should be preserved or not.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.EnumSet<DistCpOptions.FileAttribute> |
DistCpUtils.unpackAttributes(java.lang.String attributes) |
Unpacks preservation attribute string containing the first character of
each preservation attribute back to a set of attributes to preserve
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
DistCpUtils.packAttributes(java.util.EnumSet<DistCpOptions.FileAttribute> attributes) |
Pack file preservation attributes into a string, containing
just the first character of each preservation attribute
|
static void |
DistCpUtils.preserve(org.apache.hadoop.fs.FileSystem targetFS,
org.apache.hadoop.fs.Path path,
CopyListingFileStatus srcFileStatus,
java.util.EnumSet<DistCpOptions.FileAttribute> attributes,
boolean preserveRawXattrs) |
Preserve attribute on file matching that of the file status being sent
as argument.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.