[
https://issues.apache.org/jira/browse/FLINK-4339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15489700#comment-15489700
]
ASF GitHub Bot commented on FLINK-4339:
---------------------------------------
GitHub user KurtYoung opened a pull request:
https://github.com/apache/flink/pull/2497
[FLINK-4339][cluster management] Implement Slot Pool core on JobManager
Introduce __SlotDescriptor__ to hold static information of a __Slot__.
__Slot__ is used as runtime objects and contains dynamic information such as
status and running tasks.
Introduce __SlotPool__:
* The slot pool serves slot request issued by Scheduler or ExecutionGraph.
It will will attempt to acquire new slots from the ResourceManager when it
cannot serve a slot request. If no ResourceManager is currently available, or
it gets a decline from the ResourceManager, or a request times out, it fails
the slot request.
* The slot pool also holds all the slots that were offered to it and
accepted, and can thus provides registered free slots even if the
ResourceManager is down.
* The slots will only be released when they are useless, e.g. when the job
is fully running but we still have some free slots.
* All the allocation or the slot offering will be identified by self
generated AllocationID, we will use it to eliminate ambiguities.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/KurtYoung/flink flink-4339
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2497.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2497
----
commit a958b6205e55762effe5c3692154d92c617c781c
Author: Kurt Young <[email protected]>
Date: 2016-09-08T10:04:31Z
[FLINK-4339][cluster management] Implement Slot Pool core on JobManager side
----
> Implement Slot Pool Core
> ------------------------
>
> Key: FLINK-4339
> URL: https://issues.apache.org/jira/browse/FLINK-4339
> Project: Flink
> Issue Type: Sub-task
> Components: Cluster Management
> Affects Versions: 1.1.0
> Reporter: Stephan Ewen
> Assignee: Kurt Young
> Fix For: 1.2.0
>
>
> Impements the core slot structures and behavior of the {{SlotPool}}:
> - pool of available slots
> - request slots and response if slot is available in pool
> - return / deallocate slots
> Detail design in here:
> https://docs.google.com/document/d/1y4D-0KGiMNDFYOLRkJy-C04nl8fwJNdm9hoUfxce6zY/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)