<?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 Re: yarn scheduler question in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/yarn-scheduler-question/m-p/208252#M170211</link>
    <description>&lt;P&gt;Hello Sami&lt;/P&gt;&lt;P&gt;Without the logs and or error message this is left up to guess. A quick look seems to show that your are allocating more than the total amount of ressources and that you do not seem to have defined the support queue you listed.&lt;/P&gt;</description>
    <pubDate>Sun, 23 Apr 2017 20:44:09 GMT</pubDate>
    <dc:creator>nmaillard1</dc:creator>
    <dc:date>2017-04-23T20:44:09Z</dc:date>
    <item>
      <title>yarn scheduler question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-scheduler-question/m-p/208251#M170210</link>
      <description>&lt;P&gt;I asked this simple question before but got no response , trying again .&lt;/P&gt;&lt;P&gt;if I set these values for the scheduler in YARN config , it breaks YARN ,  what am I doing wrong here?&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.queues=Engineering,Marketing,Support
yarn.scheduler.capacity.root.Engineering.acl_administer_jobs=*
yarn.scheduler.capacity.root.Engineering.acl_submit_applications=*
yarn.scheduler.capacity.root.Engineering.capacity=100
yarn.scheduler.capacity.root.Engineering.maximum-capacity=100
yarn.scheduler.capacity.root.Engineering.state=RUNNING
yarn.scheduler.capacity.root.Engineering.user-limit-factor=1
yarn.scheduler.capacity.Engineering.minimum-user-limit-percent=100
yarn.scheduler.capacity.root.Marketing.acl_administer_jobs=*
yarn.scheduler.capacity.root.Marketing.acl_submit_applications=*
yarn.scheduler.capacity.root.Marketing.capacity=100
yarn.scheduler.capacity.root.Marketing.maximum-capacity=100
yarn.scheduler.capacity.root.Marketing.state=RUNNING
yarn.scheduler.capacity.root.Marketing.user-limit-factor=1
yarn.scheduler.capacity.Marketing.minimum-user-limit-percent=100
&lt;/PRE&gt;</description>
      <pubDate>Sun, 23 Apr 2017 20:41:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-scheduler-question/m-p/208251#M170210</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-04-23T20:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: yarn scheduler question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-scheduler-question/m-p/208252#M170211</link>
      <description>&lt;P&gt;Hello Sami&lt;/P&gt;&lt;P&gt;Without the logs and or error message this is left up to guess. A quick look seems to show that your are allocating more than the total amount of ressources and that you do not seem to have defined the support queue you listed.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 20:44:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-scheduler-question/m-p/208252#M170211</guid>
      <dc:creator>nmaillard1</dc:creator>
      <dc:date>2017-04-23T20:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: yarn scheduler question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-scheduler-question/m-p/208253#M170212</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115" target="_blank"&gt;@Sami Ahmad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tried your config and the ResourceManager's logs show error: "Illegal capacity of -1.0 for queue root.Support".&lt;/P&gt;&lt;P&gt;Support is defined in root.queues, but it's capacity is undefined. If you fixed that (add yarn.scheduler.capacity.root.Support.capacity) the next problem will be, that the sum of the capacities of any queue's child queues must be 100%. In your case, root.Marketing + root.Engineering = 200%. Try the following:&lt;/P&gt;&lt;PRE&gt;yarn.scheduler.capacity.root.Engineering.capacity=40
yarn.scheduler.capacity.root.Marketing.capacity=40
yarn.scheduler.capacity.root.Support.capacity=20
&lt;/PRE&gt;&lt;P&gt;or any other 3 numbers that add up to 100. &lt;/P&gt;&lt;P&gt;If you fix this too, your config will be valid:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14839-screen-shot-2017-04-24-at-93137.png" style="width: 742px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16887i6607B50944C36B3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14839-screen-shot-2017-04-24-at-93137.png" alt="14839-screen-shot-2017-04-24-at-93137.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:25:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-scheduler-question/m-p/208253#M170212</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2019-08-18T04:25:28Z</dc:date>
    </item>
  </channel>
</rss>

