Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5724 [Umbrella] Better Queue Management in YARN
  3. YARN-6741

Deleting all children of a Parent Queue on refresh throws exception

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha3
    • 2.9.0, 3.0.0-beta1
    • capacity scheduler
    • None

    Description

      If we configure CS such that all children of a parent queue are deleted and made as a leaf queue, then refreshQueue operation fails when re-initializing the parent Queue

             // Sanity check
            if (!(newlyParsedQueue instanceof ParentQueue) || !newlyParsedQueue
                .getQueuePath().equals(getQueuePath())) {
              throw new IOException(
                  "Trying to reinitialize " + getQueuePath() + " from "
                      + newlyParsedQueue.getQueuePath());
            }
      

      Expected Behavior:
      Converting a Parent Queue to leafQueue on refreshQueue needs to be supported.

      Attachments

        1. YARN-6741-branch-2.005.patch
          11 kB
          Naganarasimha G R
        2. YARN-6741.005.patch
          12 kB
          Naganarasimha G R
        3. YARN-6741.004.patch
          12 kB
          Naganarasimha G R
        4. YARN-6741.003.patch
          12 kB
          Naganarasimha G R
        5. YARN-6741.002.patch
          12 kB
          Naganarasimha G R
        6. YARN-6741.001.patch
          12 kB
          Naganarasimha G R

        Issue Links

          Activity

            People

              Naganarasimha Naganarasimha G R
              Naganarasimha Naganarasimha G R
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: