Skip to content

[FLINK-4373] [cluster management] Introduce AllocationID, ResourceProfile, and AllocatedSlot#2630

Closed
StephanEwen wants to merge 1 commit into
apache:masterfrom
StephanEwen:master
Closed

[FLINK-4373] [cluster management] Introduce AllocationID, ResourceProfile, and AllocatedSlot#2630
StephanEwen wants to merge 1 commit into
apache:masterfrom
StephanEwen:master

Conversation

@StephanEwen

Copy link
Copy Markdown
Contributor

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.

…file, and AllocatedSlot

These classes are introduced as part of the cluster management rework.
@asfgit asfgit closed this in f6d8668 Oct 14, 2016
liuyuzhong pushed a commit to liuyuzhong/flink that referenced this pull request Dec 5, 2016
…file, and AllocatedSlot

These classes are introduced as part of the cluster management rework.

This closes apache#2630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants