hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Change the compression algorythme
Date Sat, 01 Dec 2012 20:32:56 GMT
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 <kevin.odell@cloudera.com>:
> 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" <jean-marc@spaggiari.org>
> 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
>>
>

Mime
View raw message