@InterfaceAudience.Private @InterfaceStability.Evolving public class DistCpContext extends Object
DistCpOptions and mutable runtime status.| Constructor and Description |
|---|
DistCpContext(DistCpOptions options) |
public DistCpContext(DistCpOptions options)
public void setSourcePaths(List<org.apache.hadoop.fs.Path> sourcePaths)
public List<org.apache.hadoop.fs.Path> getSourcePaths()
options.public org.apache.hadoop.fs.Path getSourceFileListing()
public org.apache.hadoop.fs.Path getTargetPath()
public boolean shouldAtomicCommit()
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 final String getFiltersFile()
public int getNumListstatusThreads()
public int getMaxMaps()
public float getMapBandwidth()
public Set<DistCpOptions.FileAttribute> getPreserveAttributes()
public boolean shouldPreserve(DistCpOptions.FileAttribute attribute)
public boolean shouldPreserveRawXattrs()
public void setPreserveRawXattrs(boolean preserveRawXattrs)
public org.apache.hadoop.fs.Path getAtomicWorkPath()
public org.apache.hadoop.fs.Path getLogPath()
public String getCopyStrategy()
public int getBlocksPerChunk()
public final boolean splitLargeFile()
public int getCopyBufferSize()
public boolean shouldDirectWrite()
public void setTargetPathExists(boolean targetPathExists)
public boolean isTargetPathExists()
public void appendToConf(org.apache.hadoop.conf.Configuration conf)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.