hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: HBase custom filter protocol buffers
Date Tue, 09 Sep 2014 20:23:54 GMT
For each of your filters that carries custom information (limit, range,
etc), you need to create corresponding protobuf entity.

See hbase-protocol/src/main/protobuf/Filter.proto for examples.


On Tue, Sep 9, 2014 at 12:55 PM, Kevin <kevin.macksamie@gmail.com> wrote:

> Hi,
> I'm making the switch from 0.92.1 to 0.98.1, and I'm in the process of
> updating all my custom filters to conform to the new HBase Filter API. I
> have quite a few custom filters, so my question is: Must I create a custom
> protocol buffer for each of my filters or I can reuse the custom logic that
> I had in writeFields() and readFields() in toByteArray() and
> parseFrom(byte[]), respectively?
> I did post this same question on Cloudera's CDH User Google group, but I
> figured it was better suited to be asked on the official HBase mailing
> list. (Sorry for posting in multiple locations.)
> Thanks,
> Kevin

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