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 3CA1F9955 for ; Tue, 25 Oct 2011 20:18:53 +0000 (UTC) Received: (qmail 92884 invoked by uid 500); 25 Oct 2011 20:18:53 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 92769 invoked by uid 500); 25 Oct 2011 20:18:52 -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 92752 invoked by uid 500); 25 Oct 2011 20:18:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 92746 invoked by uid 99); 25 Oct 2011 20:18:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 20:18:52 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Tue, 25 Oct 2011 20:18:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A433F31BCF7 for ; Tue, 25 Oct 2011 20:16:32 +0000 (UTC) Date: Tue, 25 Oct 2011 20:16:32 +0000 (UTC) From: "Paul Yang (Assigned) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1831305723.14951.1319573792673.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <935272625.25861.1313019036608.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (HIVE-2368) Slow dropping of partitions caused by full listing of storage descriptors 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-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Yang reassigned HIVE-2368: ------------------------------- Assignee: Sohan Jain > Slow dropping of partitions caused by full listing of storage descriptors > ------------------------------------------------------------------------- > > Key: HIVE-2368 > URL: https://issues.apache.org/jira/browse/HIVE-2368 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Sohan Jain > Assignee: Sohan Jain > Fix For: 0.9.0 > > Attachments: HIVE-2368.1.patch > > > To determine if a column descriptor is unused, we call listStorageDescriptorsWithCD(), which may return a big list of SDs. This can severely slow down dropping partitions. > We can add a maximum number of SDs to return, and just ask for 1 SD, since we are just doing an existential check. -- 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