<?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: Drop table is not working in hive. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Drop-table-is-not-working-in-hive/m-p/236107#M197920</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/115505/rodrigogallacci.html" nodeid="115505"&gt;@Rodrigo Gallacci&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please provide information regarding which HDP and hive version you are using? &lt;/P&gt;&lt;P&gt;Its seems like a managed table, are you getting any error logs?&lt;/P&gt;&lt;P&gt;if its hdp3.1 can you usine beeline in debug more like below&lt;/P&gt;&lt;P&gt;beeline --verbose=true &lt;/P&gt;&lt;P&gt;and post the logs ?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 12:59:15 GMT</pubDate>
    <dc:creator>edu_vikassri</dc:creator>
    <dc:date>2019-07-24T12:59:15Z</dc:date>
    <item>
      <title>Drop table is not working in hive.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Drop-table-is-not-working-in-hive/m-p/236106#M197919</link>
      <description>&lt;P&gt;Hello all, I'm a little new in Haddop world, so, please forgive me any kind of questions that I'm doing.&lt;/P&gt;&lt;P&gt;In first place, I installed a 7 node cluster in my environment, all of them has DataNode (I know now that's the worst scenario, but, it's already installed and no time to fix it).&lt;/P&gt;&lt;P&gt;In this morning, a simple process that need to drop a partitioned table in Hive isn't working anymore, there was no modification on cluster.&lt;/P&gt;&lt;P&gt;The simple command is "drop table ods.tims_declaracao;".&lt;/P&gt;&lt;P&gt;Well, I think that I got the problem worse, I removed the directory "/apps/hive/warehouse/ods.db/tims_declaracao". I thought that I would drop the table, well, I realize that it was not.&lt;/P&gt;&lt;P&gt;The table still hanging in drop the metadata. Can some good soul help me to find out what's the problem?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 03:11:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Drop-table-is-not-working-in-hive/m-p/236106#M197919</guid>
      <dc:creator>rodrigo_gallacc</dc:creator>
      <dc:date>2019-07-23T03:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Drop table is not working in hive.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Drop-table-is-not-working-in-hive/m-p/236107#M197920</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/115505/rodrigogallacci.html" nodeid="115505"&gt;@Rodrigo Gallacci&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please provide information regarding which HDP and hive version you are using? &lt;/P&gt;&lt;P&gt;Its seems like a managed table, are you getting any error logs?&lt;/P&gt;&lt;P&gt;if its hdp3.1 can you usine beeline in debug more like below&lt;/P&gt;&lt;P&gt;beeline --verbose=true &lt;/P&gt;&lt;P&gt;and post the logs ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 12:59:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Drop-table-is-not-working-in-hive/m-p/236107#M197920</guid>
      <dc:creator>edu_vikassri</dc:creator>
      <dc:date>2019-07-24T12:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Drop table is not working in hive.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Drop-table-is-not-working-in-hive/m-p/236108#M197921</link>
      <description>&lt;P&gt;Thank you for the answer, I found how to fix the problem, I cannot drop the table because there are a table in MySQL that defines what's locked or not.&lt;/P&gt;&lt;P&gt;The table is "HIVE_LOCKS", from hive database, I just deleted the data correlated to my table and I was able to drop it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 13:32:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Drop-table-is-not-working-in-hive/m-p/236108#M197921</guid>
      <dc:creator>rodrigo_gallacc</dc:creator>
      <dc:date>2019-07-24T13:32:09Z</dc:date>
    </item>
  </channel>
</rss>

