In distributed framework, we introduced slot manager to control resource. slot represents the cpu count as usually. A scheduler(task executor) can be opened only when the slot is enough. Otherwise, it will be blocked.