You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sunil G (JIRA)" <ji...@apache.org> on 2014/11/11 18:37:34 UTC

[jira] [Updated] (YARN-2693) Priority Label Manager in RM to manage priority labels

     [ https://issues.apache.org/jira/browse/YARN-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sunil G updated YARN-2693:
--------------------------
    Attachment: 0001-YARN-2693.patch

Uploading a work in progress patch for priority label manager.

* Supporting file system and memory store
* Handling 4 events to store such as add_labels_to_queue, remove_labels_from_queue, store_cluster_labels, remove_cluster_labels
* Using specific pb impls to store the labels details to file
* Design similar to node label manager, however changes in event specific handling is done
* RMPriorityLabelManager class has to be on top of this as a wrapper, which we can bring up as RM core changes

Kindly review and provide major comments. I will keep updating this with tests also.

> Priority Label Manager in RM to manage priority labels
> ------------------------------------------------------
>
>                 Key: YARN-2693
>                 URL: https://issues.apache.org/jira/browse/YARN-2693
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: 0001-YARN-2693.patch
>
>
> Focus of this JIRA is to have a centralized service to handle priority labels.
> Support operations such as
> * Add/Delete priority label to a specified queue
> * Manage integer mapping associated with each priority label
> * Support managing default priority label of a given queue
> * ACL support in queue level for priority label
> * Expose interface to RM to validate priority label
> Storage for this labels will be done in FileSystem and in Memory similar to NodeLabel
> * FileSystem Based : persistent across RM restart
> * Memory Based: non-persistent across RM restart



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