You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vandana Ayyalasomayajula (Updated) (JIRA)" <ji...@apache.org> on 2012/02/03 03:03:53 UTC

[jira] [Updated] (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 ]

Vandana Ayyalasomayajula updated HIVE-2542:
-------------------------------------------

    Attachment: Hive-2542.03.patch
    
> 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
>         Attachments: 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