[
https://issues.apache.org/jira/browse/FLINK-12372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838492#comment-16838492
]
shuai.xu commented on FLINK-12372:
----------------------------------
I am now working on this issue. This is the implementation plan.
1. It will contain ExecutionSlotAllocator, DefaultExecutionSlotAllocator,
ExecutionVertexSchedulingRequirements, SlotExecutionVertexAssignment and unit
tests for DefaultExecutionSlotAllocator.
2. The DefaultExecutionSlotAllocator will use a SlotProvider to allocate slots
and then return the SlotExecutionVertexAssignment to the caller. It will
contain a Map<ExecutionVertexID, SlotExecutionVertexAssignment> to cache the
unfulfilled slot requests.
There is one problem:
1. The SlotProvider needs ScheduledUnit when allocating slots, but I think
ExecutionSlotAllocator should get rid of Execution and ScheduleUnit, so It may
need to create a new class extending the ScheduleUnit and use it in the
ExecutionSlotAllocator.
[~gjy], do you have any suggestion?
> Implement ExecutionSlotAllocator
> --------------------------------
>
> Key: FLINK-12372
> URL: https://issues.apache.org/jira/browse/FLINK-12372
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Coordination
> Reporter: Gary Yao
> Assignee: shuai.xu
> Priority: Major
>
> Add and implement {{ExecutionSlotAllocator}} interface
> Design document:
> https://docs.google.com/document/d/1fstkML72YBO1tGD_dmG2rwvd9bklhRVauh4FSsDDwXU
> *Acceptance criteria*
> * {{ExecutionSlotAllocator}} interface is defined and implemented
> * interface implementation is unit tested
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)