<?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: Hive Default Queue Won't Work? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100002#M13031</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/274/yjiang.html" nodeid="274"&gt;@yjiang&lt;/A&gt; Its diff from the original question but then you raised this "it can only start 1 Tez session since the old 1 session per queue config seems to be still effective."&lt;/P&gt;</description>
    <pubDate>Sat, 19 Dec 2015 10:08:01 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2015-12-19T10:08:01Z</dc:date>
    <item>
      <title>Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/99996#M13025</link>
      <description>&lt;P&gt;I have set up my HiveServer2 to use 'hive1,hive2' as its default queues. I expect query submitted by the beeline tool would be running in those two queues, but I observed it runs in the 'default' queue.&lt;/P&gt;&lt;P&gt;I also configured sessions per queue on HS2 to 2, but it seems it does not take effect.&lt;/P&gt;&lt;P&gt;I am using Hive on Tez on HDP 2.3.2 and Ambari 2.1.2.1.&lt;/P&gt;&lt;P&gt;Is there any other configurations required to make the Hive default queues and sessions per queue configs work?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:02:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/99996#M13025</guid>
      <dc:creator>yjiang</dc:creator>
      <dc:date>2015-12-18T18:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/99997#M13026</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/274/yjiang.html" nodeid="274" target="_blank"&gt;@yjiang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Add tez.queue.name to your custom hiveserver2-site in Ambari and restart hiveserver2, it will make your default queue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="918-screen-shot-2015-12-18-at-083924.png" style="width: 2052px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23829i4403E1D4E10B2428/image-size/medium?v=v2&amp;amp;px=400" role="button" title="918-screen-shot-2015-12-18-at-083924.png" alt="918-screen-shot-2015-12-18-at-083924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can also specify the queue when you connect or before submitting your query:&lt;/P&gt;&lt;PRE&gt;jdbc:hive2://localhost:10000?tez.queue.name=hive2&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;set tez.queue.name=hive2;&lt;/PRE&gt;&lt;P&gt;Also check this post from &lt;A rel="user" href="https://community.cloudera.com/users/175/dstreever.html" nodeid="175" target="_blank"&gt;@David Streever&lt;/A&gt; for more detailed information:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://streever.atlassian.net/wiki/pages/viewpage.action?pageId=4390918" rel="nofollow noopener noreferrer"&gt;https://streever.atlassian.net/wiki/pages/viewpage.action?pageId=4390918&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:30:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/99997#M13026</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2019-08-19T12:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/99998#M13027</link>
      <description>&lt;P&gt;I followed all the instructions above. But it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="926-hive1.png" style="width: 396px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23825i010EAA9D245304E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="926-hive1.png" alt="926-hive1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="922-hive2.png" style="width: 754px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23826i1A05C8B15A78A6B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="922-hive2.png" alt="922-hive2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Issues I found:&lt;/P&gt;&lt;P&gt;1) After change the session config, Ambari won't restart HS2. It only restarts metastore and webhcat. I had to restart HS2 separately.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="927-hive4.png" style="width: 756px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23827i338EA3E250E3BD61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="927-hive4.png" alt="927-hive4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) "Session per queue" config doesn't work. I changed it to 4, and tell Hive to initialize it, but after HS2 restart, it can only start 1 Tez session since the old 1 session per queue config seems to be still effective.&lt;/P&gt;&lt;P&gt;3) Initialized Tez session won't be used. Submitting query from beeline would try to start a new Tez session in the queue but it gets pended again.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="924-hive3.png" style="width: 2842px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23828iBB9E480398C69FA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="924-hive3.png" alt="924-hive3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:30:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/99998#M13027</guid>
      <dc:creator>yjiang</dc:creator>
      <dc:date>2019-08-19T12:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/99999#M13028</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="928-screen-shot-2015-12-18-at-80938-am.png" style="width: 564px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23824i605786048C189318/image-size/medium?v=v2&amp;amp;px=400" role="button" title="928-screen-shot-2015-12-18-at-80938-am.png" alt="928-screen-shot-2015-12-18-at-80938-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;***** seperating out the thread to test prewarm container ***&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/274/yjiang.html" nodeid="274" target="_blank"&gt;@yjiang&lt;/A&gt; Change this for prewarm containers &lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:30:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/99999#M13028</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T12:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100000#M13029</link>
      <description>&lt;P&gt;About #2 I had similar issues with new sessions being stuck with ACCEPTED status in yarn ui for a recently created queue. It happened twice, I'm trying to reproduce it, but seems to be a capacity scheduler issue that you can fix restarting resource manager. After fixing this capacity scheduler issue, default queues and session per queue works fine. Notice that hiveserver2 starts session one-by-one, it may take a while to initialize them all.&lt;/P&gt;&lt;P&gt;About #3, I see the same. I will open a support ticket to get engineering on it. I found few old internal jiras related to this, but not with 2.3.2&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 23:34:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100000#M13029</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-12-18T23:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100001#M13030</link>
      <description>&lt;P&gt;Thanks, &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; . I think this prewarm is a little different from the issue I found, which I think is Tez session (AM) initialization and queue config issue. Are they related or depending on?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2015 10:04:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100001#M13030</guid>
      <dc:creator>yjiang</dc:creator>
      <dc:date>2015-12-19T10:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100002#M13031</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/274/yjiang.html" nodeid="274"&gt;@yjiang&lt;/A&gt; Its diff from the original question but then you raised this "it can only start 1 Tez session since the old 1 session per queue config seems to be still effective."&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2015 10:08:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100002#M13031</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-19T10:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100003#M13032</link>
      <description>&lt;P&gt;Thanks, &lt;A rel="user" href="https://community.cloudera.com/users/238/gbraccialli.html" nodeid="238"&gt;@Guilherme Braccialli&lt;/A&gt;&lt;/P&gt;&lt;P&gt;About #2, I am using default RM configs and I can easily re-produce this. Can you please share what kind of CS issue you found and fixed?&lt;/P&gt;&lt;P&gt;About #3, I got your forwarded case email. Please keep me updated.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2015 10:08:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100003#M13032</guid>
      <dc:creator>yjiang</dc:creator>
      <dc:date>2015-12-19T10:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100004#M13033</link>
      <description>&lt;P&gt;Got it. Let me try raising this number.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2015 10:11:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100004#M13033</guid>
      <dc:creator>yjiang</dc:creator>
      <dc:date>2015-12-19T10:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100005#M13034</link>
      <description>&lt;P&gt;When I created new queue and refreshed RM it only executed one AM on new queue others got stuck in accept state, solved when I restarted RM, but when I repeated same steps it didn't happen again.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2015 10:34:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100005#M13034</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-12-19T10:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Default Queue Won't Work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100006#M13035</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/274/yjiang.html"&gt;@yjiang&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Try adding the below parameter in capacity scheduler of YARN.&lt;/P&gt;&lt;P&gt;yarn.scheduler.capacity.queue-mappings=u:hive:QueueName&lt;/P&gt;&lt;P&gt;So that any query fired using hive cli (as hive user) are being redirected to the queue name that you have provided.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 10:14:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Default-Queue-Won-t-Work/m-p/100006#M13035</guid>
      <dc:creator>pradeep_shetty</dc:creator>
      <dc:date>2018-09-28T10:14:03Z</dc:date>
    </item>
  </channel>
</rss>

