Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1546

[Umbrella] Allow changing queue type: parent to leaf and back

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core - common
    • None

    Description

      In certain cases we would like to allow changing the queue type from a parent to a leaf or the other way around in one update.

      Currently there is no way to change the type and it will throw an error when tried. That means two updates need to be made to first remove and then add the same queue with a different type. This is only important for managed queues, i.e. queues in the config. Dynamic queues should not allow type changes as they are removed when empty.

      • parent to leaf: only if no children are registered for the parent
      • leaf to parent: only of no applications are running in the queue

      Attachments

        1. TestUpdateQueues2.patch
          3 kB
          Peter Bacsko

        Activity

          People

            pbacsko Peter Bacsko
            wilfreds Wilfred Spiegelenburg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: