You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Zhu Zhu (Jira)" <ji...@apache.org> on 2020/04/07 06:28:00 UTC

[jira] [Created] (FLINK-17017) Implement Bulk Slot Allocation in SchedulerImpl

Zhu Zhu created FLINK-17017:
-------------------------------

             Summary: Implement Bulk Slot Allocation in SchedulerImpl
                 Key: FLINK-17017
                 URL: https://issues.apache.org/jira/browse/FLINK-17017
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Coordination
    Affects Versions: 1.11.0
            Reporter: Zhu Zhu
             Fix For: 1.11.0


The SlotProvider interface should be extended with an bulk slot allocation method which accepts a bulk of slot requests as one of the parameters.

{code:java}
CompletableFuture<Collection<LogicalSlotRequestResult>> allocateSlots(
  Collection<LogicalSlotRequest> slotRequests,
  Time allocationTimeout);
 
class LogicalSlotRequest {
  SlotRequestId slotRequestId;
  ScheduledUnit scheduledUnit;
  SlotProfile slotProfile;
  boolean slotWillBeOccupiedIndefinitely;
}
 
class LogicalSlotRequestResult {
  SlotRequestId slotRequestId;
  LogicalSlot slot;
}
{code}

More details see [FLIP-119#Bulk Slot Allocation|https://cwiki.apache.org/confluence/display/FLINK/FLIP-119+Pipelined+Region+Scheduling#FLIP-119PipelinedRegionScheduling-BulkSlotAllocation]




--
This message was sent by Atlassian Jira
(v8.3.4#803005)