public class NettyShuffleEnvironmentConfiguration extends Object
Constructor and Description |
---|
NettyShuffleEnvironmentConfiguration(int numNetworkBuffers,
int networkBufferSize,
int partitionRequestInitialBackoff,
int partitionRequestMaxBackoff,
int networkBuffersPerChannel,
int floatingNetworkBuffersPerGate,
Optional<Integer> maxRequiredBuffersPerGate,
java.time.Duration requestSegmentsTimeout,
boolean isNetworkDetailedMetrics,
NettyConfig nettyConfig,
String[] tempDirs,
BoundedBlockingSubpartitionType blockingSubpartitionType,
boolean batchShuffleCompressionEnabled,
String compressionCodec,
int maxBuffersPerChannel,
long batchShuffleReadMemoryBytes,
int sortShuffleMinBuffers,
int sortShuffleMinParallelism,
BufferDebloatConfiguration debloatConfiguration,
int maxNumberOfConnections,
boolean connectionReuseEnabled,
int maxOverdraftBuffersPerGate,
int hybridShuffleSpilledIndexSegmentSize,
long hybridShuffleNumRetainedInMemoryRegionsMax) |
public NettyShuffleEnvironmentConfiguration(int numNetworkBuffers, int networkBufferSize, int partitionRequestInitialBackoff, int partitionRequestMaxBackoff, int networkBuffersPerChannel, int floatingNetworkBuffersPerGate, Optional<Integer> maxRequiredBuffersPerGate, java.time.Duration requestSegmentsTimeout, boolean isNetworkDetailedMetrics, @Nullable NettyConfig nettyConfig, String[] tempDirs, BoundedBlockingSubpartitionType blockingSubpartitionType, boolean batchShuffleCompressionEnabled, String compressionCodec, int maxBuffersPerChannel, long batchShuffleReadMemoryBytes, int sortShuffleMinBuffers, int sortShuffleMinParallelism, BufferDebloatConfiguration debloatConfiguration, int maxNumberOfConnections, boolean connectionReuseEnabled, int maxOverdraftBuffersPerGate, int hybridShuffleSpilledIndexSegmentSize, long hybridShuffleNumRetainedInMemoryRegionsMax)
public int numNetworkBuffers()
public int networkBufferSize()
public int partitionRequestInitialBackoff()
public int partitionRequestMaxBackoff()
public int networkBuffersPerChannel()
public int floatingNetworkBuffersPerGate()
public long batchShuffleReadMemoryBytes()
public int sortShuffleMinBuffers()
public int sortShuffleMinParallelism()
public java.time.Duration getRequestSegmentsTimeout()
public NettyConfig nettyConfig()
public boolean isNetworkDetailedMetrics()
public String[] getTempDirs()
public boolean isConnectionReuseEnabled()
public BoundedBlockingSubpartitionType getBlockingSubpartitionType()
public boolean isBatchShuffleCompressionEnabled()
public BufferDebloatConfiguration getDebloatConfiguration()
public boolean isSSLEnabled()
public String getCompressionCodec()
public int getMaxBuffersPerChannel()
public int getMaxNumberOfConnections()
public int getMaxOverdraftBuffersPerGate()
public long getHybridShuffleNumRetainedInMemoryRegionsMax()
public int getHybridShuffleSpilledIndexSegmentSize()
public static NettyShuffleEnvironmentConfiguration fromConfiguration(Configuration configuration, MemorySize networkMemorySize, boolean localTaskManagerCommunication, InetAddress taskManagerAddress)
configuration
- configuration objectnetworkMemorySize
- the size of memory reserved for shuffle environmentlocalTaskManagerCommunication
- true, to skip initializing the network stacktaskManagerAddress
- identifying the IP address under which the TaskManager will be
accessibleCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.