flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4373) Introduce SlotID, AllocationID, ResourceProfile
Date Thu, 13 Oct 2016 18:42:20 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15572813#comment-15572813
] 

ASF GitHub Bot commented on FLINK-4373:
---------------------------------------

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 <sewen@apache.org>
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.

----


> Introduce SlotID, AllocationID, ResourceProfile
> -----------------------------------------------
>
>                 Key: FLINK-4373
>                 URL: https://issues.apache.org/jira/browse/FLINK-4373
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Cluster Management
>            Reporter: Kurt Young
>            Assignee: Kurt Young
>
> For the new version of cluster management, we need some more basic data structures:
> * SlotID: Identifier of one single slot located in a task executor
> * AllocationID: Slot allocation identifier, created by the JobManager when requesting
a slot, constant across re-tries. Used to identify responses by the ResourceManager and to
identify deployment calls towards the TaskManager that was allocated from.
> * ResourceProfile: The resource profile of the desired slot (currently only cpu cores
and memory are supported



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message