<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question YARN capacity confiurations Illegal capacity of 0.25 for children of queue root in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234558#M196378</link>
    <description>&lt;P&gt;I am trying to adjust the yarn capacity settings..for a newly setup hive/druid stack.&lt;/P&gt;&lt;P&gt;The system was 'working' but then this week it started complaining about &lt;/P&gt;&lt;PRE&gt;Failed to submit application_1550602511762_0005 to YARN : org.apache.hadoop.security.AccessControlException: Queue root.default already has 0 applications, cannot accept submission of application: application_1550602511762_0005
&lt;/PRE&gt;&lt;P&gt;it was suggested I needed to reduce the capacity of the llap queue.&lt;/P&gt;&lt;P&gt;my 'scheduling' config I am trying..&lt;/P&gt;&lt;P&gt;yarn.scheduler.capacity.default.minimum-user-limit-percent=100&lt;BR /&gt;yarn.scheduler.capacity.maximum-am-resource-percent=0.2&lt;BR /&gt;yarn.scheduler.capacity.maximum-applications=10000&lt;BR /&gt;yarn.scheduler.capacity.node-locality-delay=40&lt;BR /&gt;yarn.scheduler.capacity.resource-calculator=org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator&lt;BR /&gt;yarn.scheduler.capacity.root.accessible-node-labels=*&lt;BR /&gt;yarn.scheduler.capacity.root.acl_administer_queue=*&lt;BR /&gt;yarn.scheduler.capacity.root.acl_submit_applications=*&lt;BR /&gt;yarn.scheduler.capacity.root.capacity=100&lt;BR /&gt;yarn.scheduler.capacity.root.default.acl_administer_jobs=*&lt;BR /&gt;yarn.scheduler.capacity.root.default.acl_submit_applications=*&lt;BR /&gt;yarn.scheduler.capacity.root.default.capacity=0.0&lt;BR /&gt;yarn.scheduler.capacity.root.default.maximum-capacity=0.0&lt;BR /&gt;yarn.scheduler.capacity.root.default.state=RUNNING&lt;BR /&gt;yarn.scheduler.capacity.root.default.user-limit-factor=1&lt;BR /&gt;yarn.scheduler.capacity.root.llap.acl_administer_queue=hive&lt;BR /&gt;yarn.scheduler.capacity.root.llap.acl_submit_applications=hive&lt;BR /&gt;yarn.scheduler.capacity.root.llap.capacity=25.0&lt;BR /&gt;yarn.scheduler.capacity.root.llap.maximum-am-resource-percent=1&lt;BR /&gt;yarn.scheduler.capacity.root.llap.maximum-capacity=100.0&lt;BR /&gt;yarn.scheduler.capacity.root.llap.minimum-user-limit-percent=100&lt;BR /&gt;yarn.scheduler.capacity.root.llap.ordering-policy=fifo&lt;BR /&gt;yarn.scheduler.capacity.root.llap.state=RUNNING&lt;BR /&gt;yarn.scheduler.capacity.root.llap.user-limit-factor=1&lt;BR /&gt;yarn.scheduler.capacity.root.queues=default,llap&lt;BR /&gt;yarn.scheduler.capacity.schedule-asynchronously.enable=true&lt;BR /&gt;yarn.scheduler.capacity.schedule-asynchronously.maximum-threads=1&lt;BR /&gt;yarn.scheduler.capacity.schedule-asynchronously.scheduling-interval-ms=10&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;caused by: java.io.IOException: Failed to re-init queues : Illegal capacity of 0.25 for children of queue root&amp;nbsp; &amp;nbsp; at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.reinitialize(CapacityScheduler.java:478)&amp;nbsp; &amp;nbsp; 
at org.apache.hadoop.yarn.server.resourcemanager.AdminService.refreshQueues(AdminService.java:423)&amp;nbsp; &amp;nbsp; 
at org.apache.hadoop.yarn.server.resourcemanager.AdminService.refreshQueues(AdminService.java:394)&amp;nbsp; &amp;nbsp; 
.. 10 moreCaused by: java.lang.IllegalArgumentException: Illegal capacity of 0.25 for children of queue roots&lt;/PRE&gt;&lt;P&gt;I have tried various configs..that add up to 100 or are less than 100, but it keeps complaining..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:10:27 GMT</pubDate>
    <dc:creator>daniel_hopkins</dc:creator>
    <dc:date>2022-09-16T14:10:27Z</dc:date>
    <item>
      <title>YARN capacity confiurations Illegal capacity of 0.25 for children of queue root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234558#M196378</link>
      <description>&lt;P&gt;I am trying to adjust the yarn capacity settings..for a newly setup hive/druid stack.&lt;/P&gt;&lt;P&gt;The system was 'working' but then this week it started complaining about &lt;/P&gt;&lt;PRE&gt;Failed to submit application_1550602511762_0005 to YARN : org.apache.hadoop.security.AccessControlException: Queue root.default already has 0 applications, cannot accept submission of application: application_1550602511762_0005
&lt;/PRE&gt;&lt;P&gt;it was suggested I needed to reduce the capacity of the llap queue.&lt;/P&gt;&lt;P&gt;my 'scheduling' config I am trying..&lt;/P&gt;&lt;P&gt;yarn.scheduler.capacity.default.minimum-user-limit-percent=100&lt;BR /&gt;yarn.scheduler.capacity.maximum-am-resource-percent=0.2&lt;BR /&gt;yarn.scheduler.capacity.maximum-applications=10000&lt;BR /&gt;yarn.scheduler.capacity.node-locality-delay=40&lt;BR /&gt;yarn.scheduler.capacity.resource-calculator=org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator&lt;BR /&gt;yarn.scheduler.capacity.root.accessible-node-labels=*&lt;BR /&gt;yarn.scheduler.capacity.root.acl_administer_queue=*&lt;BR /&gt;yarn.scheduler.capacity.root.acl_submit_applications=*&lt;BR /&gt;yarn.scheduler.capacity.root.capacity=100&lt;BR /&gt;yarn.scheduler.capacity.root.default.acl_administer_jobs=*&lt;BR /&gt;yarn.scheduler.capacity.root.default.acl_submit_applications=*&lt;BR /&gt;yarn.scheduler.capacity.root.default.capacity=0.0&lt;BR /&gt;yarn.scheduler.capacity.root.default.maximum-capacity=0.0&lt;BR /&gt;yarn.scheduler.capacity.root.default.state=RUNNING&lt;BR /&gt;yarn.scheduler.capacity.root.default.user-limit-factor=1&lt;BR /&gt;yarn.scheduler.capacity.root.llap.acl_administer_queue=hive&lt;BR /&gt;yarn.scheduler.capacity.root.llap.acl_submit_applications=hive&lt;BR /&gt;yarn.scheduler.capacity.root.llap.capacity=25.0&lt;BR /&gt;yarn.scheduler.capacity.root.llap.maximum-am-resource-percent=1&lt;BR /&gt;yarn.scheduler.capacity.root.llap.maximum-capacity=100.0&lt;BR /&gt;yarn.scheduler.capacity.root.llap.minimum-user-limit-percent=100&lt;BR /&gt;yarn.scheduler.capacity.root.llap.ordering-policy=fifo&lt;BR /&gt;yarn.scheduler.capacity.root.llap.state=RUNNING&lt;BR /&gt;yarn.scheduler.capacity.root.llap.user-limit-factor=1&lt;BR /&gt;yarn.scheduler.capacity.root.queues=default,llap&lt;BR /&gt;yarn.scheduler.capacity.schedule-asynchronously.enable=true&lt;BR /&gt;yarn.scheduler.capacity.schedule-asynchronously.maximum-threads=1&lt;BR /&gt;yarn.scheduler.capacity.schedule-asynchronously.scheduling-interval-ms=10&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;caused by: java.io.IOException: Failed to re-init queues : Illegal capacity of 0.25 for children of queue root&amp;nbsp; &amp;nbsp; at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.reinitialize(CapacityScheduler.java:478)&amp;nbsp; &amp;nbsp; 
at org.apache.hadoop.yarn.server.resourcemanager.AdminService.refreshQueues(AdminService.java:423)&amp;nbsp; &amp;nbsp; 
at org.apache.hadoop.yarn.server.resourcemanager.AdminService.refreshQueues(AdminService.java:394)&amp;nbsp; &amp;nbsp; 
.. 10 moreCaused by: java.lang.IllegalArgumentException: Illegal capacity of 0.25 for children of queue roots&lt;/PRE&gt;&lt;P&gt;I have tried various configs..that add up to 100 or are less than 100, but it keeps complaining..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:10:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234558#M196378</guid>
      <dc:creator>daniel_hopkins</dc:creator>
      <dc:date>2022-09-16T14:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: YARN capacity confiurations Illegal capacity of 0.25 for children of queue root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234559#M196379</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/103476/danielhopkins.html"&gt;@Dan Hops&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you try changing the &lt;/P&gt;&lt;P&gt;"yarn.scheduler.capacity.root.default.capacity=0.0" to "yarn.scheduler.capacity.root.default.capacity=75"&lt;/P&gt;&lt;P&gt;"yarn.scheduler.capacity.root.default.maximum-capacity=0.0"  to  "yarn.scheduler.capacity.root.default.maximum-capacity=100"&lt;/P&gt;&lt;P&gt;Similarly change the "yarn.scheduler.capacity.root.llap.capacity=25.0" to "yarn.scheduler.capacity.root.llap.capacity=25"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;yarn.scheduler.capacity.maximum-am-resource-percent=0.2
yarn.scheduler.capacity.maximum-applications=10000
yarn.scheduler.capacity.node-locality-delay=40
yarn.scheduler.capacity.root.accessible-node-labels=*
yarn.scheduler.capacity.root.acl_administer_queue=*
yarn.scheduler.capacity.root.capacity=100
yarn.scheduler.capacity.root.default.acl_submit_applications=*
yarn.scheduler.capacity.root.default.capacity=75
yarn.scheduler.capacity.root.default.maximum-capacity=100
yarn.scheduler.capacity.root.default.state=RUNNING
yarn.scheduler.capacity.root.default.user-limit-factor=1
yarn.scheduler.capacity.root.queues=default,llap
yarn.scheduler.capacity.queue-mappings-override.enable=false
yarn.scheduler.capacity.root.acl_submit_applications=*
yarn.scheduler.capacity.root.default.priority=0
yarn.scheduler.capacity.root.llap.acl_administer_queue=hive
yarn.scheduler.capacity.root.llap.acl_submit_applications=hive
yarn.scheduler.capacity.root.llap.capacity=25
yarn.scheduler.capacity.root.llap.maximum-am-resource-percent=1
yarn.scheduler.capacity.root.llap.maximum-capacity=100
yarn.scheduler.capacity.root.llap.minimum-user-limit-percent=100
yarn.scheduler.capacity.root.llap.ordering-policy=fifo
yarn.scheduler.capacity.root.llap.priority=0
yarn.scheduler.capacity.root.llap.state=RUNNING
yarn.scheduler.capacity.root.llap.user-limit-factor=1
yarn.scheduler.capacity.root.priority=0&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 10:49:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234559#M196379</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-02-20T10:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: YARN capacity confiurations Illegal capacity of 0.25 for children of queue root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234560#M196380</link>
      <description>&lt;P&gt;that seems to work no error in the log, the issue was that I had it specified in 'floating point'?&lt;/P&gt;&lt;P&gt;Also now it my 'job' is accepted on the applications page, but it never starts..&lt;/P&gt;&lt;P&gt;There is one other job running on that queue (default), however when I try to kill it..it just errors out..with &lt;STRONG&gt;Error: Kill application failed!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 00:52:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234560#M196380</guid>
      <dc:creator>daniel_hopkins</dc:creator>
      <dc:date>2019-02-21T00:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: YARN capacity confiurations Illegal capacity of 0.25 for children of queue root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234561#M196381</link>
      <description>&lt;P&gt;ON the yarn queues tab, I see: root (100%), default(0%), and llap(100%)..does this may changes had no effect??&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 00:58:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/YARN-capacity-confiurations-Illegal-capacity-of-0-25-for/m-p/234561#M196381</guid>
      <dc:creator>daniel_hopkins</dc:creator>
      <dc:date>2019-02-21T00:58:57Z</dc:date>
    </item>
  </channel>
</rss>

