Class HybridShuffleConfiguration


  • public class HybridShuffleConfiguration
    extends Object
    Configuration for hybrid shuffle mode.
    • Method Detail

      • getMaxRequestedBuffers

        public int getMaxRequestedBuffers()
      • getMaxBuffersReadAhead

        public int getMaxBuffersReadAhead()
        Determine how many buffers to read ahead at most for each subpartition to prevent other consumers from starving.
      • getBufferRequestTimeout

        public java.time.Duration getBufferRequestTimeout()
        Maximum time to wait when requesting read buffers from the buffer pool before throwing an exception.
      • getSelectiveStrategySpillThreshold

        public float getSelectiveStrategySpillThreshold()
        When the number of buffers that have been requested exceeds this threshold, trigger the spilling operation. Used by HsSelectiveSpillingStrategy.
      • getSelectiveStrategySpillBufferRatio

        public float getSelectiveStrategySpillBufferRatio()
        The proportion of buffers to be spilled. Used by HsSelectiveSpillingStrategy.
      • getFullStrategyNumBuffersTriggerSpillingRatio

        public float getFullStrategyNumBuffersTriggerSpillingRatio()
        When the number of unSpilled buffers equal to this ratio times pool size, trigger the spilling operation. Used by HsFullSpillingStrategy.
      • getFullStrategyReleaseThreshold

        public float getFullStrategyReleaseThreshold()
        When the number of buffers that have been requested exceeds this threshold, trigger the release operation. Used by HsFullSpillingStrategy.
      • getFullStrategyReleaseBufferRatio

        public float getFullStrategyReleaseBufferRatio()
        The proportion of buffers to be released. Used by HsFullSpillingStrategy.
      • getBufferPoolSizeCheckIntervalMs

        public long getBufferPoolSizeCheckIntervalMs()
        Check interval of buffer pool's size.
      • getRegionGroupSizeInBytes

        public int getRegionGroupSizeInBytes()
        Segment size of hybrid spilled file data index.
      • getNumRetainedInMemoryRegionsMax

        public long getNumRetainedInMemoryRegionsMax()
        Max number of hybrid retained regions in memory.