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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)