GitHub user StephanEwen opened a pull request:
https://github.com/apache/flink/pull/2630
[FLINK-4373] [cluster management] Introduce AllocationID, ResourceProfile,
and AllocatedSlot
These classes are introduced as part of the cluster management rework
(FLIP-6)
The `AllocatedSlot` represents a slot on the TaskManager, reserved by a
JobManager. Prior to FLIP-6, all slots are always implicitly reserved by the
JobManager at which the TaskManagers register. With FLIP-6, slots are
dynamically allocated - hence the AllocatedSlot.
A `Slot` is then an `AllocatedSlot` used by the Scheduler/ExecutionGraph
for a task deployment, possibly sub-dividing the slot for slot sharing. It
references the executed tasks, subslots, and has fields determining whether the
slot is in use or freed.
After this pull request, `Slot`, `SimpleSlot`, and `SharedSlot` have a dual
functionality to support FLIP-6 and the current style.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StephanEwen/incubator-flink master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2630.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 #2630
----
commit fbdefb78f619c42b31b32a3f22a4f304f65b0f7e
Author: Stephan Ewen <[email protected]>
Date: 2016-10-13T16:50:18Z
[FLINK-4373] [cluster management] Introduce AllocationID, ResourceProfile,
and AllocatedSlot
These classes are introduced as part of the cluster management rework.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---