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

Andras Gyori commented on YARN-10732:
-------------------------------------

Unfortunately there is no easy way to provide a test for this case, as DRAINING 
state can not be set in configuration, but CSConfigValidator does not have a 
way to access a queue.

> Disallow restarting a queue while it is in DRAINING state on CS 
> reinitialization
> --------------------------------------------------------------------------------
>
>                 Key: YARN-10732
>                 URL: https://issues.apache.org/jira/browse/YARN-10732
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn
>            Reporter: Andras Gyori
>            Assignee: Andras Gyori
>            Priority: Major
>         Attachments: YARN-10732.001.patch
>
>
> CSConfigValidator#validateQueueHierarchy does not check a state where the old 
> queue is in DRAINING state but the new queue state is RUNNING. User should 
> wait until a queue is fully stopped.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to