@InterfaceAudience.Public @InterfaceStability.Evolving public final class DistCpOptions extends Object
DistCpOptions.Builder
class
This class is immutable.Modifier and Type | Field and Description |
---|---|
static int |
MAX_NUM_LISTSTATUS_THREADS |
public static final int MAX_NUM_LISTSTATUS_THREADS
public Path getSourceFileListing()
public Path getTargetPath()
public boolean shouldAtomicCommit()
public Path getAtomicWorkPath()
public boolean shouldSyncFolder()
public boolean shouldDeleteMissing()
public boolean shouldIgnoreFailures()
public boolean shouldOverwrite()
public boolean shouldAppend()
public boolean shouldSkipCRC()
public boolean shouldBlock()
public boolean shouldUseDiff()
public boolean shouldUseRdiff()
public boolean shouldUseSnapshotDiff()
public String getFromSnapshot()
public String getToSnapshot()
public String getFiltersFile()
public Path getLogPath()
public String getCopyStrategy()
public int getNumListstatusThreads()
public int getMaxMaps()
public float getMapBandwidth()
public Set<org.apache.hadoop.tools.DistCpOptions.FileAttribute> getPreserveAttributes()
public boolean shouldPreserve(org.apache.hadoop.tools.DistCpOptions.FileAttribute attribute)
attribute
- - Attribute to checkpublic int getBlocksPerChunk()
public int getCopyBufferSize()
public boolean shouldVerboseLog()
public Path getTrackPath()
public boolean shouldDirectWrite()
public void appendToConf(Configuration conf)
conf
- - Configuration object to which the options need to be addedCopyright © 2021 Apache Software Foundation. All rights reserved.