Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
None
-
Reviewed
Description
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