Details

    • Sub-task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • capacity scheduler
    • 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

        1. YARN-6440.1.patch
          6 kB
          Xuan Gong

        Issue Links

          Activity

            People

              xgong Xuan Gong
              xgong Xuan Gong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: