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 4DD49115CA for ; Fri, 18 Apr 2014 23:52:19 +0000 (UTC) Received: (qmail 20170 invoked by uid 500); 18 Apr 2014 23:52:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 20057 invoked by uid 500); 18 Apr 2014 23:52:15 -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 20049 invoked by uid 500); 18 Apr 2014 23:52:15 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 20043 invoked by uid 99); 18 Apr 2014 23:52:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2014 23:52:15 +0000 Date: Fri, 18 Apr 2014 23:52:15 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6469) skipTrash option in hive command line 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-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974648#comment-13974648 ] Xuefu Zhang commented on HIVE-6469: ----------------------------------- [~jhsenjaliya] It seems to me that global config is exactly what you need. You have dev and prod envs. So turn on this flag on in dev env while keeping it off for the prod env. Dev/prod should have different HS2 instances. Did I miss anything? > skipTrash option in hive command line > ------------------------------------- > > Key: HIVE-6469 > URL: https://issues.apache.org/jira/browse/HIVE-6469 > Project: Hive > Issue Type: New Feature > Components: CLI > Affects Versions: 0.12.0 > Reporter: Jayesh > Fix For: 0.12.1 > > Attachments: HIVE-6469.patch > > > hive drop table command deletes the data from HDFS warehouse and puts it into Trash. > Currently there is no way to provide flag to tell warehouse to skip trash while deleting table data. > This ticket is to add skipTrash feature in hive command-line, that looks as following. > hive -e "drop table skipTrash testTable" > This would be good feature to add, so that user can specify when not to put data into trash directory and thus not to fill hdfs space instead of relying on trash interval and policy configuration to take care of disk filling issue. -- This message was sent by Atlassian JIRA (v6.2#6252)