Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D73EAB7B9 for ; Sat, 21 Jan 2012 01:03:09 +0000 (UTC) Received: (qmail 43858 invoked by uid 500); 21 Jan 2012 01:03:09 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 43602 invoked by uid 500); 21 Jan 2012 01:03:08 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 43588 invoked by uid 500); 21 Jan 2012 01:03:08 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 43582 invoked by uid 99); 21 Jan 2012 01:03:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2012 01:03:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2012 01:03:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6DED41583EC for ; Sat, 21 Jan 2012 01:02:45 +0000 (UTC) Date: Sat, 21 Jan 2012 01:02:45 +0000 (UTC) From: "Carl Steinbach (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <56104342.62365.1327107765451.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <591996504.48444.1320191492269.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2542) DROP DATABASE CASCADE does not drop non-native tables. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190234#comment-13190234 ] Carl Steinbach commented on HIVE-2542: -------------------------------------- @Vandana: Do you have a link for the review request? Phabricator is supposed to automatically update the JIRA ticket. Did you forget to specify the JIRA ID when you ran arc? > 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.patch > > > The hive meta store client does not delete the non-native tables during the drop database 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