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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha3
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: capacity scheduler
    • Labels:
      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

            • Assignee:
              Naganarasimha Naganarasimha G R
              Reporter:
              Naganarasimha Naganarasimha G R

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment