All you should have to do is disable the table and modify the table schema to 
change compression to NONE.  Then, re-enable the table and either force a major 
compaction, or wait until one happens naturally.

Dave

-----Original Message-----
From: Stefan Comanita [mailto:[email protected]] 
Sent: Thursday, January 13, 2011 8:00 AM
To: [email protected]
Subject: decompressing the data stroed in a compressed HBase table

Hi, 

we are storing data in HBase (which in turn writes to HDFS) to a table that has 
LZO compression enabled, my questions the following: if we have some data 
stored in that table, and for any reason we decide to abandon the idea of 
compressing data how can we uncompress the already compressed data ? Altering 
the table by removing the compression will do any good ? reading the table and 
writing to a new uncompressed table ? doing a map-reduce job and uncompressing 
the data ?! are there any suggested techniques for this scenario ?

Thank you.

Comanita Stefan 



      

Reply via email to