Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Compressing values before inserting them


Copy link to this message
-
Re: Compressing values before inserting them
Ferdy Galema 2011-04-05, 08:22
Thanks. This seems very useful. Just to add, in terms of
compression/decompression speed, we're having very good performance with
the lzf codec. It is Apache licensed and pure Java code with no external
dependancies. See https://github.com/ning/compress/

Ferdy

On 04/05/2011 12:55 AM, Jean-Daniel Cryans wrote:
> Hi users,
>
> I just want to share a useful tip when storing very fat values into
> HBase, we were able to get some of our MR jobs an order of magnitude
> faster by simply using Java's Deflater and then passing the byte[] to
> Put (and the equivalent when retrieving the values with Inflator). We
> also use LZO compression on top of that.
>
> I created this jira in order to ingrate that into HBase's client layer
> as a configuration option for families:
> https://issues.apache.org/jira/browse/HBASE-3732
>
> Hope that can be useful to someone,
>
> J-D