hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Roland <...@simplymeasured.com>
Subject Re: Enabling compression
Date Tue, 24 Jul 2012 20:31:52 GMT
Yes.

You'll need to disable the table, then alter it.

disable 'my_table'
alter 'my_table', {NAME => 'my_column_family', COMPRESSION => 'snappy'}
enable 'my_table'

You don't enable compression for the whole table - you enable it per column
family.  (At least this is the case on CDH3's HBase)

On Tue, Jul 24, 2012 at 1:28 PM, Mohit Anchlia <mohitanchlia@gmail.com>wrote:

> Is it possible to enable compression on the table on a already existing
> table?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message