public class DfsClientConf extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DfsClientConf.ShortCircuitConf
Configuration for short-circuit reads.
|
Constructor and Description |
---|
DfsClientConf(org.apache.hadoop.conf.Configuration conf) |
public static org.apache.hadoop.fs.Options.ChecksumOpt getChecksumOptFromConf(org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.util.DataChecksum createChecksum(org.apache.hadoop.fs.Options.ChecksumOpt userOpt)
public int getBlockWriteLocateFollowingInitialDelayMs()
public int getHdfsTimeout()
public int getMaxFailoverAttempts()
public int getMaxRetryAttempts()
public int getFailoverSleepBaseMillis()
public int getFailoverSleepMaxMillis()
public int getMaxBlockAcquireFailures()
public int getDatanodeSocketWriteTimeout()
public int getIoBufferSize()
public org.apache.hadoop.fs.Options.ChecksumOpt getDefaultChecksumOpt()
public int getWritePacketSize()
public int getWriteMaxPackets()
public ByteArrayManager.Conf getWriteByteArrayManagerConf()
public boolean getDataTransferTcpNoDelay()
public int getSocketTimeout()
public int getSocketSendBufferSize()
public long getExcludedNodesCacheExpiry()
public int getTimeWindow()
public int getNumCachedConnRetry()
public int getNumBlockWriteRetry()
public int getNumBlockWriteLocateFollowingRetry()
public long getDefaultBlockSize()
public long getPrefetchSize()
public short getDefaultReplication()
public String getTaskId()
public org.apache.hadoop.fs.permission.FsPermission getUMask()
public boolean isConnectToDnViaHostname()
public boolean isHdfsBlocksMetadataEnabled()
public int getFileBlockStorageLocationsNumThreads()
public int getFileBlockStorageLocationsTimeoutMs()
public int getRetryTimesForGetLastBlockLength()
public int getRetryIntervalForGetLastBlockLength()
public long getDatanodeRestartTimeout()
public long getSlowIoWarningThresholdMs()
public long getHedgedReadThresholdMillis()
public int getHedgedReadThreadpoolSize()
public List<Class<? extends ReplicaAccessorBuilder>> getReplicaAccessorBuilderClasses()
public DfsClientConf.ShortCircuitConf getShortCircuitConf()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.