Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9EC110F06 for ; Mon, 15 Jul 2013 08:20:51 +0000 (UTC) Received: (qmail 17032 invoked by uid 500); 15 Jul 2013 08:20:51 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 16772 invoked by uid 500); 15 Jul 2013 08:20:49 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 16752 invoked by uid 99); 15 Jul 2013 08:20:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 08:20:49 +0000 Date: Mon, 15 Jul 2013 08:20:49 +0000 (UTC) From: "Liang Xie (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7875) introduce a compaction switch in HBase Shell 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/HBASE-7875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708308#comment-13708308 ] Liang Xie commented on HBASE-7875: ---------------------------------- [~sershe], [~yuzhihong@gmail.com], mind taking a look at it ? thanks > introduce a compaction switch in HBase Shell > -------------------------------------------- > > Key: HBASE-7875 > URL: https://issues.apache.org/jira/browse/HBASE-7875 > Project: HBase > Issue Type: New Feature > Components: shell > Affects Versions: 0.95.2 > Reporter: Liang Xie > Assignee: Liang Xie > Priority: Trivial > Attachments: HBASE-7875.txt, HBASE-7875-v1.patch, HBASE-7875-v1.patch, HBase-7875-v2.txt > > > A trivial patch to add an per-table compaction switch. it would be helpful for OPS or manual testing in real cluster, etc. > Usage: > hbase(main):016:0> alter 'YCSBTest', {METHOD => 'table_att', COMPACTION_ENABLE => 'FALSE'} > Updating all regions with the new schema... > 64/64 regions updated. > Done. > 0 row(s) in 1.1290 seconds > hbase(main):017:0> describe 'YCSBTest' > DESCRIPTION ENABLED > {NAME => 'YCSBTest', COMPACTION_ENABLE => 'false', SPLIT_POLICY => 'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPoli true > cy', FAMILIES => [{NAME => 'test', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'S > NAPPY', VERSIONS => '1', TTL => '2147483647', MIN_VERSIONS => '0', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', ENCODE_ON_DI > SK => 'true', IN_MEMORY => 'false', BLOCKCACHE => 'true'}]} > 1 row(s) in 0.0210 seconds -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira