<?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 Resource quotas within a single YARN queue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240239#M202045</link>
    <description>&lt;P&gt;We have defined several YARN queues. Say that you have queue Q1, where users A and B run Spark processes.&lt;/P&gt;&lt;P&gt;If A submits a job that demands all of the queue resources, they are allocated by YARN. Subsequently, when B submits his job, he is affected by resource scarcity.&lt;/P&gt;&lt;P&gt;We need to prevent this situation, by assigning resources more evenly between A and B (and all other incoming users), within Q1. We have already set Scheduler to Fair. Can this eager resource allocation behaviour be prevented?&lt;/P&gt;</description>
    <pubDate>Sat, 12 Jan 2019 04:37:55 GMT</pubDate>
    <dc:creator>fernando_lopez</dc:creator>
    <dc:date>2019-01-12T04:37:55Z</dc:date>
    <item>
      <title>Resource quotas within a single YARN queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240239#M202045</link>
      <description>&lt;P&gt;We have defined several YARN queues. Say that you have queue Q1, where users A and B run Spark processes.&lt;/P&gt;&lt;P&gt;If A submits a job that demands all of the queue resources, they are allocated by YARN. Subsequently, when B submits his job, he is affected by resource scarcity.&lt;/P&gt;&lt;P&gt;We need to prevent this situation, by assigning resources more evenly between A and B (and all other incoming users), within Q1. We have already set Scheduler to Fair. Can this eager resource allocation behaviour be prevented?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jan 2019 04:37:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240239#M202045</guid>
      <dc:creator>fernando_lopez</dc:creator>
      <dc:date>2019-01-12T04:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Resource quotas within a single YARN queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240240#M202046</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Fernando Lopez Bello"&gt;@Fernando Lopez Bello &lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Can you share your &lt;/I&gt;&lt;EM&gt;CapacityScheduler config&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jan 2019 06:56:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240240#M202046</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-12T06:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Resource quotas within a single YARN queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240241#M202047</link>
      <description>&lt;P&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.root.accessible-node-labels=*&lt;BR /&gt;yarn.scheduler.capacity.root.acl_administer_queue=*&lt;BR /&gt;yarn.scheduler.capacity.root.capacity=100&lt;BR /&gt;yarn.scheduler.capacity.root.default.acl_submit_applications=*&lt;BR /&gt;yarn.scheduler.capacity.root.default.capacity=10&lt;BR /&gt;yarn.scheduler.capacity.root.default.maximum-capacity=30&lt;BR /&gt;yarn.scheduler.capacity.root.default.state=RUNNING&lt;BR /&gt;yarn.scheduler.capacity.root.default.user-limit-factor=2&lt;BR /&gt;yarn.scheduler.capacity.root.queues=Hive,Zeppelin,default&lt;BR /&gt;yarn.scheduler.capacity.queue-mappings=u:zeppelin:Zeppelin,u:hdfs:Hive,g:dl-analytics-group:Zeppelin&lt;BR /&gt;yarn.scheduler.capacity.queue-mappings-override.enable=false&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.acl_administer_queue=*&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.acl_submit_applications=*&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.capacity=50&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.maximum-capacity=90&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.minimum-user-limit-percent=25&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.ordering-policy=fair&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.ordering-policy.fair.enable-size-based-weight=false&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.priority=10&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.state=RUNNING&lt;BR /&gt;yarn.scheduler.capacity.root.Hive.user-limit-factor=2&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.acl_administer_queue=*&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.acl_submit_applications=*&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.capacity=40&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.maximum-capacity=80&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.minimum-user-limit-percent=20&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.ordering-policy=fair&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.ordering-policy.fair.enable-size-based-weight=false&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.priority=5&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.state=RUNNING&lt;BR /&gt;yarn.scheduler.capacity.root.Zeppelin.user-limit-factor=3&lt;BR /&gt;yarn.scheduler.capacity.root.default.minimum-user-limit-percent=25&lt;BR /&gt;yarn.scheduler.capacity.root.default.ordering-policy=fair&lt;BR /&gt;yarn.scheduler.capacity.root.default.ordering-policy.fair.enable-size-based-weight=false&lt;BR /&gt;yarn.scheduler.capacity.root.default.priority=0&lt;BR /&gt;yarn.scheduler.capacity.root.maximum-capacity=100&lt;BR /&gt;yarn.scheduler.capacity.root.ordering-policy=priority-utilization&lt;BR /&gt;yarn.scheduler.capacity.root.priority=0&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 20:35:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240241#M202047</guid>
      <dc:creator>fernando_lopez</dc:creator>
      <dc:date>2019-01-14T20:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Resource quotas within a single YARN queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240242#M202048</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12839/fernandolopez.html" nodeid="12839"&gt;@Fernando Lopez Bello&lt;/A&gt;  Based on the above configuration file for queue &lt;STRONG&gt;Zeppelin&lt;/STRONG&gt; although user A submits a job first utilizes all the resources as the Queue's &lt;STRONG&gt;minimum-user-limit-percent&lt;/STRONG&gt; is set to 20 the queue resources will be shared among subsequent users below is the link which explains with an example.&lt;/P&gt;&lt;P&gt;&lt;A href="http://yarn.scheduler.capacity.root.Zeppelin.minimum-user-limit-percent=20"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_yarn-resource-management/content/setting_user_limits.html&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But if you don't want all the resources to shared by user A even if there no other users then you can use &lt;STRONG&gt;user-limit-factor&lt;/STRONG&gt;&lt;B&gt; &lt;/B&gt;below is the link to a nice article about it. I can see user limit factor is 3 for Zeppelin Queue which means each user can utilize 3 times of queue capacity if resources are available &amp;amp; elasticity permits. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/49640/what-does-the-user-limit-factor-do-when-used-in-ya.html"&gt;https://community.hortonworks.com/content/supportkb/49640/what-does-the-user-limit-factor-do-when-used-in-ya.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In a nutshell minimum-user-limit-percent is a soft limit &amp;amp; user-limit-factor is a hard limit.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 04:37:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Resource-quotas-within-a-single-YARN-queue/m-p/240242#M202048</guid>
      <dc:creator>npallapotu</dc:creator>
      <dc:date>2019-01-15T04:37:28Z</dc:date>
    </item>
  </channel>
</rss>

