GELOG / docker-ubuntu-hbase

Dockerfile for running HBase on Ubuntu
Apache License 2.0
7 stars 5 forks source link

Configure HBase to use compression #3

Open davidonlaptop opened 9 years ago

jbeliveau commented 9 years ago

HBase supports different types of compression. It looks like we just need to specify it at the table creation. If we want a quick win, we can use GZip since it's already included in the distribution.

Instead of:

create 'tableName', 'familyName'

We can use:

create 'tableName', { NAME=>'familyName', COMPRESSION=>'gz'}

We would need additional installation and configuration steps to use other algorithms (LZO, Snappy). Let me know what you prefer.

mikefaille commented 9 years ago

It's likely what I do for my case : https://github.com/mikefaille/docker-bosun-fullstack/blob/master/conf/create_table.sh