<?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: How to kill a connect on hiveserver2 which does not submit to yarn ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-kill-a-connect-on-hiveserver2-which-does-not-submit/m-p/382460#M244595</link>
    <description>&lt;P&gt;Much Thanks .&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2024 06:04:42 GMT</pubDate>
    <dc:creator>bulbcat</dc:creator>
    <dc:date>2024-01-19T06:04:42Z</dc:date>
    <item>
      <title>How to kill a connect on hiveserver2 which does not submit to yarn ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-kill-a-connect-on-hiveserver2-which-does-not-submit/m-p/381787#M244408</link>
      <description>&lt;P&gt;As an admin of a CDH cluster ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;some query has submitted&amp;nbsp; to the hiveserver2 ,&amp;nbsp; but the query still&amp;nbsp; in the hiveserver make the explain stage , which does not submit to the yarn cluster and has no application id on yarn . And the query make the hiveserver2 wrong&amp;nbsp; which&amp;nbsp; has a too long query such as&amp;nbsp;&lt;/P&gt;&lt;P&gt;select * from aaa where code in ('xxx','xxx1','xxx3',.......'xxx2000000') ;&lt;/P&gt;&lt;P&gt;A sql has more than milion row&amp;nbsp; may make the hiveserver2 corrupt .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 10002 web page&amp;nbsp; seems does not have some action button like yarn web the deal with the query .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The cdh version is 6.3.2 . hive version 2.1.1 .&lt;/P&gt;&lt;P&gt;When this situation occur , I have to restart the hiveserver2 .&lt;/P&gt;&lt;P&gt;I want to know if there is some way to kill a query through hive queryid or hive sessionid o instead of yarn applicationid .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is also usefull when someone query the metastore which multithread such as "use hadoop " sql with 30 or more active connect&amp;nbsp; ,&amp;nbsp; The adminastritor has the ability to kill them forcely .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 06:33:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-kill-a-connect-on-hiveserver2-which-does-not-submit/m-p/381787#M244408</guid>
      <dc:creator>bulbcat</dc:creator>
      <dc:date>2024-01-09T06:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to kill a connect on hiveserver2 which does not submit to yarn ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-kill-a-connect-on-hiveserver2-which-does-not-submit/m-p/382272#M244530</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84706"&gt;@bulbcat&lt;/a&gt;&amp;nbsp;Hive has a &lt;STRONG&gt;KILL QUERY &amp;lt;queryId&amp;gt;&lt;/STRONG&gt; command to achieve what you requested here. The feature got added through the following upstream Jiras&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/HIVE-17483" target="_blank" rel="noopener"&gt;HIVE-17483&lt;/A&gt;,&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/HIVE-20549" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;HIVE-20549&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But this command is not present in the Hive version you mentioned above. It got added in Hive 3.0, which is available in Cloudera CDP clusters.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 15:49:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-kill-a-connect-on-hiveserver2-which-does-not-submit/m-p/382272#M244530</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-01-16T15:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to kill a connect on hiveserver2 which does not submit to yarn ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-kill-a-connect-on-hiveserver2-which-does-not-submit/m-p/382460#M244595</link>
      <description>&lt;P&gt;Much Thanks .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 06:04:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-kill-a-connect-on-hiveserver2-which-does-not-submit/m-p/382460#M244595</guid>
      <dc:creator>bulbcat</dc:creator>
      <dc:date>2024-01-19T06:04:42Z</dc:date>
    </item>
  </channel>
</rss>

