[
https://issues.apache.org/jira/browse/FLINK-17017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhu Zhu updated FLINK-17017:
----------------------------
Description:
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<LogicalSlot>> allocateSlots(
Collection<LogicalSlotRequest> slotRequests,
Time allocationTimeout);
class LogicalSlotRequest {
SlotRequestId slotRequestId;
ScheduledUnit scheduledUnit;
SlotProfile slotProfile;
boolean slotWillBeOccupiedIndefinitely;
}
{code}
More details see [FLIP-119#Bulk Slot
Allocation|https://cwiki.apache.org/confluence/display/FLINK/FLIP-119+Pipelined+Region+Scheduling#FLIP-119PipelinedRegionScheduling-BulkSlotAllocation]
was:
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]
> 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<LogicalSlot>> allocateSlots(
> Collection<LogicalSlotRequest> slotRequests,
> Time allocationTimeout);
>
> class LogicalSlotRequest {
> SlotRequestId slotRequestId;
> ScheduledUnit scheduledUnit;
> SlotProfile slotProfile;
> boolean slotWillBeOccupiedIndefinitely;
> }
> {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)