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

[jira] [Updated] (FLINK-17017) Implement Bulk Slot Allocation

     [ https://issues.apache.org/jira/browse/FLINK-17017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhu Zhu updated FLINK-17017:
----------------------------
    Summary: Implement Bulk Slot Allocation  (was: Implement Bulk Slot Allocation in SchedulerImpl)

> Implement Bulk Slot Allocation
> ------------------------------
>
>                 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
>            Assignee: Zhu Zhu
>            Priority: Major
>             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)