apache slotCompaction runs as a task and hence it would need middlemanager worker capacity (hereafter termed as slot) to complete a run. If the number of slots assned isOne Slot is not one thread. One slot can have multiple threads. A Task can have multiple parallel instances which are called