<?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 Fair Share Preemption for undeclared (user) queues? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fair-Share-Preemption-for-undeclared-user-queues/m-p/81217#M84421</link>
    <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to isolate my users from each other in YARN (CDH 5.15.1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For that, I am using a queue root.users.&amp;lt;username&amp;gt;, in which each user is directed. The queues for users are not created, but will be created on submission - they are undeclared.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To guarantee resources, I would like to active FairShare Preemption on all user queues, although they are undeclared. Enabling Preemption on the root.users Queue did achieve any preemption.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set:&lt;/P&gt;&lt;P&gt;- Preemption is activated globally&lt;/P&gt;&lt;P&gt;- Fair Share Preemption Threshold of root.users is set to 0.5&lt;/P&gt;&lt;P&gt;- Fair Share Preemption Timeout of root.users is set to 5&lt;/P&gt;&lt;P&gt;- Preemptable of root.users is set to true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my test, the cluster resources are fully allocated to root.users.alice. Then bob submits a job to root.users.bob but does not receive any resources.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:48:57 GMT</pubDate>
    <dc:creator>benhadoop</dc:creator>
    <dc:date>2022-09-16T13:48:57Z</dc:date>
    <item>
      <title>Fair Share Preemption for undeclared (user) queues?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fair-Share-Preemption-for-undeclared-user-queues/m-p/81217#M84421</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to isolate my users from each other in YARN (CDH 5.15.1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For that, I am using a queue root.users.&amp;lt;username&amp;gt;, in which each user is directed. The queues for users are not created, but will be created on submission - they are undeclared.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To guarantee resources, I would like to active FairShare Preemption on all user queues, although they are undeclared. Enabling Preemption on the root.users Queue did achieve any preemption.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set:&lt;/P&gt;&lt;P&gt;- Preemption is activated globally&lt;/P&gt;&lt;P&gt;- Fair Share Preemption Threshold of root.users is set to 0.5&lt;/P&gt;&lt;P&gt;- Fair Share Preemption Timeout of root.users is set to 5&lt;/P&gt;&lt;P&gt;- Preemptable of root.users is set to true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my test, the cluster resources are fully allocated to root.users.alice. Then bob submits a job to root.users.bob but does not receive any resources.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:48:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fair-Share-Preemption-for-undeclared-user-queues/m-p/81217#M84421</guid>
      <dc:creator>benhadoop</dc:creator>
      <dc:date>2022-09-16T13:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fair Share Preemption for undeclared (user) queues?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fair-Share-Preemption-for-undeclared-user-queues/m-p/81226#M84422</link>
      <description>&lt;P&gt;Well, I have solved it:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Undeclared / auto-created queues seem not to inherit their preemption threshold / timeout settings from the parent queue but from the global default settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are definable in Cloudera Manager by selecting "Default Settings" in the "Dynamic Resource Pool Configuration" in Cloudera Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Applications in a queue, however, seem to inherit the preemption settings from the queue they are in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leaving it here for other users searching such info.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 12:32:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fair-Share-Preemption-for-undeclared-user-queues/m-p/81226#M84422</guid>
      <dc:creator>benhadoop</dc:creator>
      <dc:date>2018-10-18T12:32:15Z</dc:date>
    </item>
  </channel>
</rss>

