@Private
public class DNConf
extends java.lang.Object
| Constructor | Description |
|---|---|
DNConf(org.apache.hadoop.conf.Configurable dn) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getAllowNonLocalLazyPersist() |
|
long |
getBlockReportInterval() |
|
long |
getBpReadyTimeout() |
|
long |
getCacheReportInterval() |
|
org.apache.hadoop.conf.Configuration |
getConf() |
Returns the configuration.
|
boolean |
getConnectToDnViaHostname() |
Returns true if connect to datanode via hostname
|
boolean |
getDataTransferServerTcpNoDelay() |
|
int |
getEcChecksumSocketTimeout() |
Returns socket timeout for computing the checksum of EC blocks
|
boolean |
getEncryptDataTransfer() |
Returns true if encryption enabled for DataTransferProtocol.
|
java.lang.String |
getEncryptionAlgorithm() |
Returns encryption algorithm configured for DataTransferProtocol, or null
if not configured.
|
boolean |
getIgnoreSecurePortsForTesting() |
Returns true if configuration is set to skip checking for proper
port configuration in a secured cluster.
|
long |
getLifelineIntervalMs() |
Returns the interval in milliseconds between sending lifeline messages.
|
long |
getMaxLockedMemory() |
|
boolean |
getPmemCacheRecoveryEnabled() |
|
java.lang.String[] |
getPmemVolumes() |
|
long |
getProcessCommandsThresholdMs() |
|
org.apache.hadoop.security.SaslPropertiesResolver |
getSaslPropsResolver() |
Returns the SaslPropertiesResolver configured for use with
DataTransferProtocol, or null if not configured.
|
long |
getSlowIoWarningThresholdMs() |
|
int |
getSocketTimeout() |
Returns socket timeout
|
int |
getSocketWriteTimeout() |
Returns socket write timeout
|
int |
getTransferSocketRecvBufferSize() |
|
int |
getTransferSocketSendBufferSize() |
|
org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver |
getTrustedChannelResolver() |
Returns the TrustedChannelResolver configured for use with
DataTransferProtocol, or null if not configured.
|
int |
getVolFailuresTolerated() |
|
int |
getVolsConfigured() |
|
long |
getXceiverStopTimeout() |
|
void |
setDatanodeSlowIoWarningThresholdMs(long threshold) |
|
void |
setFileIoProfilingSamplingPercentage(int samplingPercentage) |
|
void |
setOutliersReportIntervalMs(java.lang.String reportIntervalMs) |
public org.apache.hadoop.conf.Configuration getConf()
public boolean getEncryptDataTransfer()
public java.lang.String getEncryptionAlgorithm()
public long getXceiverStopTimeout()
public long getMaxLockedMemory()
public boolean getConnectToDnViaHostname()
public int getSocketTimeout()
public int getSocketWriteTimeout()
public int getEcChecksumSocketTimeout()
public org.apache.hadoop.security.SaslPropertiesResolver getSaslPropsResolver()
public org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver getTrustedChannelResolver()
public boolean getIgnoreSecurePortsForTesting()
public boolean getAllowNonLocalLazyPersist()
public int getTransferSocketRecvBufferSize()
public int getTransferSocketSendBufferSize()
public boolean getDataTransferServerTcpNoDelay()
public long getBpReadyTimeout()
public long getLifelineIntervalMs()
public int getVolFailuresTolerated()
public int getVolsConfigured()
public long getSlowIoWarningThresholdMs()
public java.lang.String[] getPmemVolumes()
public boolean getPmemCacheRecoveryEnabled()
public long getProcessCommandsThresholdMs()
public long getBlockReportInterval()
public long getCacheReportInterval()
public void setFileIoProfilingSamplingPercentage(int samplingPercentage)
public void setOutliersReportIntervalMs(java.lang.String reportIntervalMs)
public void setDatanodeSlowIoWarningThresholdMs(long threshold)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.