Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF660D2C9 for ; Sat, 1 Dec 2012 20:33:25 +0000 (UTC) Received: (qmail 76392 invoked by uid 500); 1 Dec 2012 20:33:23 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 76340 invoked by uid 500); 1 Dec 2012 20:33:23 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 76331 invoked by uid 99); 1 Dec 2012 20:33:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 20:33:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.223.169] (HELO mail-ie0-f169.google.com) (209.85.223.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 20:33:17 +0000 Received: by mail-ie0-f169.google.com with SMTP id c14so2893034ieb.14 for ; Sat, 01 Dec 2012 12:32:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=Dtc9oqe6fob55mUn1mFzLvkl0wInSlhY5SX1hSWrByA=; b=S9TzAVDHqinF1YVBewzS4d9VxYhAl7NXVWhDb5DgRNRr60XARrcePhJe6jwOrgXi3e TEsOgyiAbYKFltVLiIoYD70PpyD2jBa8n8cu48cgvG7weqd/yEu1+7+GL21EKIl0iQt4 ll6qf3ZkFs/hExMiBpsIwkrK4hAUXXPuLG4sV4E6fPGgTabrbPqxsS4DiqBQpg24usXN /b6lPauWv71iJ1rRdCkul0p5dQ0NmFpKAnyvDNu4AIZlRecY50nYv0ma3xRmeGPkuZSV o0XH5yYMbodh2NJi4BV4AXLAS3ZO8Ay+3ENtzt7cXCbJzLsdq/6S79l70Ll8jA1ZbrC5 0D+A== MIME-Version: 1.0 Received: by 10.50.236.104 with SMTP id ut8mr2321323igc.20.1354393976376; Sat, 01 Dec 2012 12:32:56 -0800 (PST) Received: by 10.64.97.36 with HTTP; Sat, 1 Dec 2012 12:32:56 -0800 (PST) In-Reply-To: References: Date: Sat, 1 Dec 2012 15:32:56 -0500 Message-ID: Subject: Re: Change the compression algorythme From: Jean-Marc Spaggiari To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkBDQeaa6xvmyRGv/Gh8HHDYpJSjJUprgdCCvFMMri0SwGG69HzMecTWY3enVSWGoCfe+Py X-Virus-Checked: Checked by ClamAV on apache.org Perfect, thanks. I will use the hbase.regionserver.codecs option to make sure the new algorithm is working fine. JM 2012/12/1, Kevin O'dell : > JM, > > You are correct. Just disable the table, alter the compression, and then > major and minor compactions will run their course. > > Please remember to run the compression test first to make sure there is > nothing wrong with the new algorithm. > On Dec 1, 2012 3:21 PM, "Jean-Marc Spaggiari" > wrote: > >> Hi, >> >> What's the right way to change the compression algorythme for a cf? >> >> Can I simply disable the table, alter the table with the new >> compression alg info, and enable it back? As a result, I will still >> have a table compressed with the previous algorythme, but at some >> point in the future, it will slowly move to the new one when >> compactions are occuring? >> >> That mean that one table can have more than one compression alg used >> at a time, right? >> >> Or this is not possible and I need to make sure it's fully >> un-compressed before I enable another compression algorythme? >> >> Thanks, >> >> JM >> >