Class BlocklistDeclarativeSlotPool

java.lang.Object
org.apache.flink.runtime.jobmaster.slotpool.DefaultDeclarativeSlotPool
org.apache.flink.runtime.jobmaster.slotpool.BlocklistDeclarativeSlotPool
All Implemented Interfaces:
DeclarativeSlotPool

public class BlocklistDeclarativeSlotPool extends DefaultDeclarativeSlotPool
A DeclarativeSlotPool implementation that supports blocklist. This implementation will avoid allocating slots that located on blocked nodes. The core idea is to keep the slot pool in such a state: there is no slot in slot pool that is free (no task assigned) and located on blocked nodes.