hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vandana Ayyalasomayajula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2542) DROP DATABASE CASCADE does not drop non-native tables.
Date Fri, 18 May 2012 00:29:02 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278447#comment-13278447
] 

Vandana Ayyalasomayajula commented on HIVE-2542:
------------------------------------------------

Hey Ashutosh, 
The arc diff does not seem to pick the moves correctly, so in addition to the above patch,
you will have to execute the following commands while committing.

mkdir hbase-handler/src/test/queries/positive
svn add hbase-handler/src/test/queries/positive
svn mv hbase-handler/src/test/queries/*.q hbase-handler/src/test/queries/positive/
svn mv hbase-handler/src/test/queries/*.m hbase-handler/src/test/queries/positive/
mkdir hbase-handler/src/test/results/positive
svn add hbase-handler/src/test/results/positive
svn mv hbase-handler/src/test/results/*.q.out hbase-handler/src/test/results/positive
svn mv hbase-handler/src/test/results/*.m.out hbase-handler/src/test/results/positive


ant test -Dtestcase=TestHBaseNegativeCliDriver
ant test -Dtestcase=TestHBaseCliDriver

commands run successfully. 
                
> 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.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

        

Mime
View raw message