| Package | Description |
|---|---|
| org.apache.hadoop.tools.mapred | |
| org.apache.hadoop.tools.util |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,CopyListingFileStatus> |
UniformSizeInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Implementation of InputFormat::createRecordReader().
|
| Modifier and Type | Method and Description |
|---|---|
void |
CopyMapper.map(org.apache.hadoop.io.Text relPath,
CopyListingFileStatus sourceFileStatus,
org.apache.hadoop.mapreduce.Mapper.Context context)
Implementation of the Mapper::map().
|
| Modifier and Type | Method and Description |
|---|---|
static CopyListingFileStatus |
DistCpUtils.toCopyListingFileStatus(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.FileStatus fileStatus,
boolean preserveAcls,
boolean preserveXAttrs,
boolean preserveRawXAttrs)
Converts a FileStatus to a CopyListingFileStatus.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DistCpUtils.preserve(org.apache.hadoop.fs.FileSystem targetFS,
org.apache.hadoop.fs.Path path,
CopyListingFileStatus srcFileStatus,
EnumSet<DistCpOptions.FileAttribute> attributes,
boolean preserveRawXattrs)
Preserve attribute on file matching that of the file status being sent
as argument.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.