<?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: Error while querying HIve tables from HUE in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-while-querying-HIve-tables-from-HUE/m-p/295096#M217591</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50045"&gt;@bhara&lt;/a&gt;&amp;nbsp; The error is very specific "&lt;SPAN&gt;OperationalError: database is locked"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have you checked the database.table you are querying is locked or not? &amp;nbsp;&amp;nbsp;&lt;BR /&gt;If the error is indeed from the oracle metastore, is that database or table locked?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could test another query on another table as well, to see if it is just that table locked. &amp;nbsp;After removing the lock, does the query work again? &amp;nbsp; Sometimes hive can lock tables, and never unlock them. &amp;nbsp;You would need to query the hive metastore directly, and manually remove these locks if they persist.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 20:08:36 GMT</pubDate>
    <dc:creator>stevenmatison</dc:creator>
    <dc:date>2020-04-29T20:08:36Z</dc:date>
  </channel>
</rss>

