public class NettyShuffleEnvironmentConfiguration extends Object
Constructor and Description |
---|
NettyShuffleEnvironmentConfiguration(int numNetworkBuffers,
int networkBufferSize,
int partitionRequestInitialBackoff,
int partitionRequestMaxBackoff,
int networkBuffersPerChannel,
int floatingNetworkBuffersPerGate,
java.time.Duration requestSegmentsTimeout,
boolean isNetworkDetailedMetrics,
NettyConfig nettyConfig,
String[] tempDirs,
BoundedBlockingSubpartitionType blockingSubpartitionType,
boolean blockingShuffleCompressionEnabled,
String compressionCodec,
int maxBuffersPerChannel,
long batchShuffleReadMemoryBytes,
int sortShuffleMinBuffers,
int sortShuffleMinParallelism,
BufferDebloatConfiguration debloatConfiguration,
int maxNumberOfConnections,
boolean connectionReuseEnabled) |
public NettyShuffleEnvironmentConfiguration(int numNetworkBuffers, int networkBufferSize, int partitionRequestInitialBackoff, int partitionRequestMaxBackoff, int networkBuffersPerChannel, int floatingNetworkBuffersPerGate, java.time.Duration requestSegmentsTimeout, boolean isNetworkDetailedMetrics, @Nullable NettyConfig nettyConfig, String[] tempDirs, BoundedBlockingSubpartitionType blockingSubpartitionType, boolean blockingShuffleCompressionEnabled, String compressionCodec, int maxBuffersPerChannel, long batchShuffleReadMemoryBytes, int sortShuffleMinBuffers, int sortShuffleMinParallelism, BufferDebloatConfiguration debloatConfiguration, int maxNumberOfConnections, boolean connectionReuseEnabled)
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 isBlockingShuffleCompressionEnabled()
public BufferDebloatConfiguration getDebloatConfiguration()
public boolean isSSLEnabled()
public String getCompressionCodec()
public int getMaxBuffersPerChannel()
public int getMaxNumberOfConnections()
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–2023 The Apache Software Foundation. All rights reserved.