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 1815A1124A for ; Thu, 3 Apr 2014 20:29:21 +0000 (UTC) Received: (qmail 90774 invoked by uid 500); 3 Apr 2014 20:29:19 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 90301 invoked by uid 500); 3 Apr 2014 20:29:18 -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 89913 invoked by uid 500); 3 Apr 2014 20:29:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 89906 invoked by uid 99); 3 Apr 2014 20:29:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2014 20:29:16 +0000 Date: Thu, 3 Apr 2014 20:29:16 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6809) Support bulk deleting directories for partition drop with partial spec 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-6809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959169#comment-13959169 ] Sergey Shelukhin commented on HIVE-6809: ---------------------------------------- On code level patch looks ok. 1) I am not sure how acceptable it is to break thrift APIs. [~ashutoshc] can you comment? I wonder again if you can augment existing dropPartitions req/resp based API? Or if not, maybe convert existing ones to req/resp if they are changing anyway, so it would be easier to change them later. 2) Can this also use bulk delete path from database? > Support bulk deleting directories for partition drop with partial spec > ---------------------------------------------------------------------- > > Key: HIVE-6809 > URL: https://issues.apache.org/jira/browse/HIVE-6809 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Navis > Assignee: Navis > Attachments: HIVE-6809.1.patch.txt, HIVE-6809.2.patch.txt > > > In busy hadoop system, dropping many of partitions takes much more time than expected. In hive-0.11.0, removing 1700 partitions by single partial spec took 90 minutes, which is reduced to 3 minutes when deleteData is set false. I couldn't test this in recent hive, which has HIVE-6256 but if the time-taking part is mostly from removing directories, it seemed not helpful to reduce whole processing time. -- This message was sent by Atlassian JIRA (v6.2#6252)