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

Shilun Fan updated YARN-10727:
------------------------------
          Component/s: capacity scheduler
     Target Version/s: 3.4.0
    Affects Version/s: 3.4.0

> ParentQueue does not validate the queue on removal
> --------------------------------------------------
>
>                 Key: YARN-10727
>                 URL: https://issues.apache.org/jira/browse/YARN-10727
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacity scheduler
>    Affects Versions: 3.4.0
>            Reporter: Andras Gyori
>            Assignee: Andras Gyori
>            Priority: Major
>             Fix For: 3.4.0
>
>         Attachments: YARN-10727.001.patch
>
>
> With the addition of YARN-10532 ParentQueue has a public method, removeQueue, 
> which allows the deletion of a queue at runtime. However, there is no 
> validation regarding the queue which is to be removed, therefore it is 
> possible to remove a queue from the CSQueueManager that is not a child of the 
> ParentQueue. Since it is a public method, there must be validations such as:
>  * check, if the parent of the queue to be removed is the current ParentQueue
>  * check, if the parent actually contains the queue in its childQueues 
> collection



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to