Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6327

Removing queues from CapacitySchedulerQueueManager and ParentQueue should be done with iterator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • capacityscheduler
    • None
    • Reviewed

    Description

      e.g. in CapacitySchedulerQueueManager

          for (Map.Entry<String, CSQueue> e : existingQueues.entrySet()) {
            String queueName = e.getKey();
            if (!newQueues.containsKey(queueName)) {
              existingQueues.remove(queueName);
            }
          }

      Attachments

        1. YARN-6327.001.patch
          3 kB
          Jonathan Hung
        2. YARN-6327.002.patch
          3 kB
          Jonathan Hung

        Issue Links

          Activity

            People

              jhung Jonathan Hung
              jhung Jonathan Hung
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: