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

Switch to Threaded View
HBase, mail # user - Compressing data sent from HBase client


Copy link to this message
-
Re: Compressing data sent from HBase client
Ted Yu 2013-02-08, 17:16
I think the following JIRA is related to what you ask:
HBASE-6966 "Compressed RPCs for HBase" (HBASE-5355) port to trunk

Before that gets integrated, you can manage compression yourself.
prePut() is given reference to the Put:

  void prePut(final ObserverContext<RegionCoprocessorEnvironment> c,

      final Put put, final WALEdit edit, final boolean writeToWAL)
where you can manipulate the contents of the Put.

Cheers

On Fri, Feb 8, 2013 at 8:36 AM, Mesika, Asaf <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Was the possibility of compressing RPC data sent from HBase client to
> Region server?
> Some data pattern could benefit from this tremendously.
>
> Another thing - As a work-around, can be this be done by using a special
> coprocessor which will receive the List<Put>, decompress it and then call
> HRegionServer to insert it?
>
> Thanks,
>
> Asaf
>
>