Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C5CBA2009D9 for ; Tue, 3 May 2016 02:20:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0B131609B4; Tue, 3 May 2016 02:20:14 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3B9B51609B0 for ; Tue, 3 May 2016 02:20:14 +0200 (CEST) Received: (qmail 84519 invoked by uid 500); 3 May 2016 00:20:13 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 84490 invoked by uid 99); 3 May 2016 00:20:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2016 00:20:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F1D472C1F6E for ; Tue, 3 May 2016 00:20:12 +0000 (UTC) Date: Tue, 3 May 2016 00:20:12 +0000 (UTC) From: "Wei Zheng (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13354) Add ability to specify Compaction options per table and per request MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 03 May 2016 00:20:14 -0000 [ https://issues.apache.org/jira/browse/HIVE-13354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zheng updated HIVE-13354: ----------------------------- Attachment: HIVE-13354.1.withoutSchemaChange.patch Upload patch 1, without schema changes in the upgrade scripts. > Add ability to specify Compaction options per table and per request > ------------------------------------------------------------------- > > Key: HIVE-13354 > URL: https://issues.apache.org/jira/browse/HIVE-13354 > Project: Hive > Issue Type: Improvement > Affects Versions: 1.3.0, 2.0.0 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Labels: TODOC2.1 > Attachments: HIVE-13354.1.withoutSchemaChange.patch > > > Currently the are a few options that determine when automatic compaction is triggered. They are specified once for the warehouse. > This doesn't make sense - some table may be more important and need to be compacted more often. > We should allow specifying these on per table basis. > Also, compaction is an MR job launched from within the metastore. There is currently no way to control job parameters (like memory, for example) except to specify it in hive-site.xml for metastore which means they are site wide. > Should add a way to specify these per table (perhaps even per compaction if launched via ALTER TABLE) -- This message was sent by Atlassian JIRA (v6.3.4#6332)