<?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 Inability to execute multiple queries from the same user after configuring yarn queue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/378316#M243502</link>
    <description>&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Hi everyone.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;I created 2 queue yarns in cdp 7.1.8.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Precisely I created 2 queues:&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;users queue --&amp;gt; configured capacity 50% and maximum capacity 100%&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;hive queue --&amp;gt;configured capacity 50% and maximum capacity 100% &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;I enabled child queues mode for all 2 queues with the following configuration parameters:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="99.33481319908981%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="36px"&gt;Dynamic Queue Minimum User Limit&lt;/TD&gt;&lt;TD width="50%" height="36px"&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="36px"&gt;Dynamic Queue User Limit Factor&lt;/TD&gt;&lt;TD width="50%" height="36px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="36px"&gt;Dynamic Queue Maximum Applications&lt;/TD&gt;&lt;TD width="50%" height="36px"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="63px"&gt;Dynamic Queue Maximum AM Resource Limit&lt;/TD&gt;&lt;TD width="50%" height="63px"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="36px"&gt;Dynamic Queue Ordering Policy&lt;/TD&gt;&lt;TD width="50%" height="36px"&gt;Fair&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The problem we encounter is that if even just 2 queries are executed in the same queue the second goes pending and is not executed in parallel, I show an example below&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38787iA9C4535D5751F01C/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.PNG" alt="test.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Another example would be an oozie job that only calls a spark job.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The oozie job runs infinitely waiting for the pyspark to run.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;However, in the default queue this problem is not present.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The development cluster is made up of 3 worker nodes (144 vcores 180 gb yarn memory).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Can you provide us support or optimizations to do at the queue configuration level?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Lorenzo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2023 20:16:51 GMT</pubDate>
    <dc:creator>Lorenzo</dc:creator>
    <dc:date>2023-10-30T20:16:51Z</dc:date>
    <item>
      <title>Inability to execute multiple queries from the same user after configuring yarn queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/378316#M243502</link>
      <description>&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Hi everyone.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;I created 2 queue yarns in cdp 7.1.8.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Precisely I created 2 queues:&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;users queue --&amp;gt; configured capacity 50% and maximum capacity 100%&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;hive queue --&amp;gt;configured capacity 50% and maximum capacity 100% &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;I enabled child queues mode for all 2 queues with the following configuration parameters:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="99.33481319908981%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="36px"&gt;Dynamic Queue Minimum User Limit&lt;/TD&gt;&lt;TD width="50%" height="36px"&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="36px"&gt;Dynamic Queue User Limit Factor&lt;/TD&gt;&lt;TD width="50%" height="36px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="36px"&gt;Dynamic Queue Maximum Applications&lt;/TD&gt;&lt;TD width="50%" height="36px"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="63px"&gt;Dynamic Queue Maximum AM Resource Limit&lt;/TD&gt;&lt;TD width="50%" height="63px"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="36px"&gt;Dynamic Queue Ordering Policy&lt;/TD&gt;&lt;TD width="50%" height="36px"&gt;Fair&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The problem we encounter is that if even just 2 queries are executed in the same queue the second goes pending and is not executed in parallel, I show an example below&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38787iA9C4535D5751F01C/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.PNG" alt="test.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Another example would be an oozie job that only calls a spark job.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The oozie job runs infinitely waiting for the pyspark to run.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;However, in the default queue this problem is not present.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The development cluster is made up of 3 worker nodes (144 vcores 180 gb yarn memory).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Can you provide us support or optimizations to do at the queue configuration level?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Lorenzo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 20:16:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/378316#M243502</guid>
      <dc:creator>Lorenzo</dc:creator>
      <dc:date>2023-10-30T20:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to execute multiple queries from the same user after configuring yarn queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/378461#M243544</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try increasing the Dynamic Queue User Limit Factor to 2 or 4 and check if that helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 10:00:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/378461#M243544</guid>
      <dc:creator>Asok</dc:creator>
      <dc:date>2023-11-02T10:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to execute multiple queries from the same user after configuring yarn queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/378668#M243626</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/100837"&gt;@Lorenzo&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 20:44:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/378668#M243626</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-11-06T20:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to execute multiple queries from the same user after configuring yarn queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/379212#M243809</link>
      <description>&lt;P&gt;I temporarily solved it by eliminating the dynamic child creation&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 09:12:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/379212#M243809</guid>
      <dc:creator>Lorenzo</dc:creator>
      <dc:date>2023-11-20T09:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Inability to execute multiple queries from the same user after configuring yarn queue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/387687#M246390</link>
      <description>&lt;DIV class="QmZWSe"&gt;&lt;DIV class="DHcWmd"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="oSioSc"&gt;&lt;DIV&gt;&lt;DIV class="g9WsWb"&gt;&lt;DIV class="tw-ta-container F0azHf tw-nfl"&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;I temporarily solved it by eliminating the dynamic child creation&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 May 2024 12:52:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Inability-to-execute-multiple-queries-from-the-same-user/m-p/387687#M246390</guid>
      <dc:creator>Lorenzo</dc:creator>
      <dc:date>2024-05-08T12:52:15Z</dc:date>
    </item>
  </channel>
</rss>

