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

queue not remove from webpage(/cluster/scheduler) when delete queue in xxx-scheduler.xml

    XMLWordPrintableJSON

Details

    Description

      When I delete an existing queue by modify the xxx-schedule.xml, I can still see the queue information block in webpage(/cluster/scheduler) though the 'Min Resources' items all become to zero and have no item of 'Max Running Applications'.
      I can still submit an application to the deleted queue and the application will run using 'root.default' queue instead, but submit to an un-exist queue will cause an exception.

      My expectation is the deleted queue will not displayed in webpage and submit application to the deleted queue will act just like the queue doesn't exist.

      PS: There's no application running in the queue I delete.

      Some related config in yarn-site.xml:

      <property>
              <name>yarn.scheduler.fair.user-as-default-queue</name>
              <value>false</value>
      </property>
      
      <property>
              <name>yarn.scheduler.fair.allow-undeclared-pools</name>
              <value>false</value>
      </property>
      

      a related question is here: http://stackoverflow.com/questions/26488564/hadoop-yarn-why-the-queue-cannot-be-deleted-after-i-revise-my-fair-scheduler-xm

      Attachments

        1. Queue Deletion in Fair Scheduler.pdf
          83 kB
          Yufei Gu
        2. YARN-4022.004.patch
          10 kB
          forrestchen
        3. YARN-4022.003.patch
          10 kB
          forrestchen
        4. YARN-4022.002.patch
          10 kB
          forrestchen
        5. YARN-4022.001.patch
          10 kB
          forrestchen

        Issue Links

          Activity

            People

              snemeth Szilard Nemeth
              forrestchen forrestchen
              Votes:
              1 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: