Details
-
Sub-task
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, when we stop the parent queue, we would do the following:
1) check the number of active applications. If there is no active application, we would mark the queue state as STOPPED. Otherwise, we mark the queue state as DRAIN, and wait for all the active applications finish.
2) Do the same step for all its children.
So, in current process, we always change the state for parent queue first which will not work in some scenarios, such as the reservation system. In the reservation system, the plan queue will not have any active applications immediately at the beginning. So, when we stop the queue, it would change the queue state into STOPPED immediately which could cause problem.
Attachments
Attachments
Issue Links
- is depended upon by
-
YARN-6431 make DELETE/STOP/CONVERT queues work in reservation system
- Open