You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2012/05/18 17:35:07 UTC
[jira] [Resolved] (HIVE-2542) DROP DATABASE CASCADE does not drop
non-native tables.
[ https://issues.apache.org/jira/browse/HIVE-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan resolved HIVE-2542.
------------------------------------
Resolution: Fixed
Fix Version/s: 0.10.0
Committed to trunk. Thanks, Vandana !
> DROP DATABASE CASCADE does not drop non-native tables.
> -------------------------------------------------------
>
> Key: HIVE-2542
> URL: https://issues.apache.org/jira/browse/HIVE-2542
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Reporter: Vandana Ayyalasomayajula
> Assignee: Vandana Ayyalasomayajula
> Labels: handler, hive, metastore, storage
> Fix For: 0.10.0
>
> Attachments: HIVE-2542.04.patch, HIVE-2542.05.patch, HIVE-2542.06.patch, HIVE-2542.06.patch, HIVE-2542.07.patch, Hive-2542.03.patch, Hive-2542.patch
>
>
> The hive meta store client does not delete the non-native tables during the drop database <dbname> cascade operation. As a result even though the database is deleted the tables still exist. This is related to HCATALOG-144.
> A deeper look at the HiveMetaStoreClient's "dropDatabase" function, tells us that the function does not utilize the hive meta hooks of the tables in the database for dropping the non-native tables.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira