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 CA973C67C for ; Fri, 18 May 2012 00:21:26 +0000 (UTC) Received: (qmail 53512 invoked by uid 500); 18 May 2012 00:21:26 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 53361 invoked by uid 500); 18 May 2012 00:21:26 -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 53353 invoked by uid 500); 18 May 2012 00:21:26 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 53349 invoked by uid 99); 18 May 2012 00:21:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 00:21:26 +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; Fri, 18 May 2012 00:21:24 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1107ABA7A for ; Fri, 18 May 2012 00:21:03 +0000 (UTC) Date: Fri, 18 May 2012 00:21:03 +0000 (UTC) From: "Vandana Ayyalasomayajula (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1193159177.11865.1337300463071.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <591996504.48444.1320191492269.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (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 [ 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.07.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.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 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