<?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: You can't execute queries until the end of the 'atomic' block in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323057#M229004</link>
    <description>&lt;P&gt;Is hive generating slow response? Is the query slow??&lt;/P&gt;</description>
    <pubDate>Tue, 24 Aug 2021 09:06:15 GMT</pubDate>
    <dc:creator>asish</dc:creator>
    <dc:date>2021-08-24T09:06:15Z</dc:date>
    <item>
      <title>You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/93773#M57362</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting above error from Hive while trying to query a table.&lt;/P&gt;&lt;P&gt;This is coincidentally during an insert operation on the table...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does it mean I cant access the table while a hive insert operation is ongoing...?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table contains lots of rows partitioned by two columns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 22:15:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/93773#M57362</guid>
      <dc:creator>ChineduLB</dc:creator>
      <dc:date>2019-08-06T22:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/93895#M57423</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't see any errors posted in the post, can you please share again?&lt;BR /&gt;&lt;BR /&gt;In general, Hive have locking mechanism enabled, so when INSERT is happening on a table, an exclusive lock will be place on the table and any query tries to run against the same table will have to wait, and there is a timeout to control how long the wait will be, and the query will fail with error if timeout exceeded, otherwise it will just keep waiting until lock is released.&lt;BR /&gt;&lt;BR /&gt;So to understand more on the issue, I need to see what error was reported.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
      <pubDate>Fri, 09 Aug 2019 08:53:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/93895#M57423</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-08-09T08:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/290760#M215080</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im facing same issue ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached is the error screenshot&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/26535i441296C4620EF5A4/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="atomic error.jpg" title="atomic error.jpg" /&gt;</description>
      <pubDate>Sun, 01 Mar 2020 09:51:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/290760#M215080</guid>
      <dc:creator>syedshakir</dc:creator>
      <dc:date>2020-03-01T09:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/308452#M223549</link>
      <description>&lt;P&gt;I am facing the same error when executing sql query through hue server。Now I have no idea to solve the error。&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please。&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2020 08:11:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/308452#M223549</guid>
      <dc:creator>kunzhao</dc:creator>
      <dc:date>2020-12-25T08:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/321135#M228281</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im also facing same issue ,&lt;/P&gt;&lt;P&gt;increased connections numbers to HUE DB, still issue exits.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 11:23:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/321135#M228281</guid>
      <dc:creator>syedshakir</dc:creator>
      <dc:date>2021-07-19T11:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/321194#M228308</link>
      <description>&lt;P&gt;Can you check "show locks" if the table is acquired EXCLUSIVE lock ?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 08:06:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/321194#M228308</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2021-07-20T08:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/321587#M228464</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No its not acquiring lock , result was empty set&amp;nbsp; in hue DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;syed&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 18:42:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/321587#M228464</guid>
      <dc:creator>syedshakir</dc:creator>
      <dc:date>2021-07-26T18:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/321988#M228629</link>
      <description>&lt;P&gt;DOes the same issue happen when you run via beeline ? I researched ,I found this occurs only in hue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 10:36:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/321988#M228629</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2021-08-03T10:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/322065#M228664</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes its happening at hue browser only&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 06:34:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/322065#M228664</guid>
      <dc:creator>syedshakir</dc:creator>
      <dc:date>2021-08-05T06:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/322187#M228710</link>
      <description>&lt;P&gt;Hue is unable to handle the slow responses from Hive servers and hence the error.&amp;nbsp;&lt;SPAN&gt;This happens when Hive is unable to return the query handle to Hue in a timely manner. So, the ideal solution here would be to investigate Hive slowness and not Hue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hue relies on &lt;STRONG&gt;server_conn_timeout&lt;/STRONG&gt; parameter in its configuration (default 120s), after which the active sessions with hiveserver2 is teared down.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If Hue is using MySQL as the underlying DB, then we can tweak the &lt;STRONG&gt;innodb-lock-wait-timeout&amp;nbsp;&lt;/STRONG&gt;to be greater than the&amp;nbsp;&lt;STRONG&gt;server_conn_timeout&amp;nbsp;&lt;/STRONG&gt;in Hue's configuration, that way we get fail-fast system and the locked tables are released. Please note that this is only a workaround until the cause of Hive performance issue is found and remediated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Aug 2021 02:41:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/322187#M228710</guid>
      <dc:creator>Sean464</dc:creator>
      <dc:date>2021-08-08T02:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323057#M229004</link>
      <description>&lt;P&gt;Is hive generating slow response? Is the query slow??&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 09:06:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323057#M229004</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2021-08-24T09:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323325#M229079</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69915"&gt;@syedshakir&lt;/a&gt;,&amp;nbsp;Has any of the replies 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.&amp;nbsp; If you are still experiencing the issue, can you provide the information&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71090"&gt;@asish&lt;/a&gt;&amp;nbsp; has requested?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 05:16:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323325#M229079</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-08-30T05:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323333#M229083</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issue resolved by increasing number of conection and session timeout as a workaround.&lt;/P&gt;&lt;P&gt;Actually need to use dedicated disk for&amp;nbsp; DB's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 06:56:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323333#M229083</guid>
      <dc:creator>syedshakir</dc:creator>
      <dc:date>2021-08-30T06:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: You can't execute queries until the end of the 'atomic' block</title>
      <link>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323338#M229084</link>
      <description>&lt;P&gt;Thanks for the confirmation&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69915"&gt;@syedshakir&lt;/a&gt;. Much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 08:01:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/You-can-t-execute-queries-until-the-end-of-the-atomic-block/m-p/323338#M229084</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-08-30T08:01:11Z</dc:date>
    </item>
  </channel>
</rss>

