You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Peter Haidinyak <ph...@local.com> on 2010/12/08 18:15:36 UTC
Custom Filters
Ahoy hoy,
Any good examples/samples on how to create and use a Custom Filter out there? I've been Googling for about an hour and the Pickens are slim :)
Thanks
-Pete
RE: Custom Filters
Posted by Peter Haidinyak <ph...@local.com>.
Thanks,
I love him in Dr. Strangelove. That's how I would like to go out!
Almost as soon as I hit the send button I realized that I could just look at the provided Filters, my bad.
-Pete
-----Original Message-----
From: saint.ack@gmail.com [mailto:saint.ack@gmail.com] On Behalf Of Stack
Sent: Wednesday, December 08, 2010 9:49 AM
To: user@hbase.apache.org
Subject: Re: Custom Filters
Slim Pickens was one of my favorite movie stars:
http://en.wikipedia.org/wiki/File:Slim-pickens_riding-the-bomb_enh-lores.jpg
Your best bet would be study of the existing filters --
http://people.apache.org/~stack/hbase-0.90.0-candidate-1/docs/xref/org/apache/hadoop/hbase/filter/package-summary.html
-- and filter unit tests. What filter developers always forget to do
is add a code for their filter to HBaseObjectWritables -- look
hereabouts http://people.apache.org/~stack/hbase-0.90.0-candidate-1/docs/xref/org/apache/hadoop/hbase/io/HbaseObjectWritable.html#166
-- and it stumps them a while because failure mode is w/o descriptive
error (Enable DEBUG on org.apache.hadoop.ipc.HBaseServer if you find
yourself in situation where nothing works and all is failing silently
-- this will emit ipc logging). That said, the change to HOW may not
be needed any more given recent changes.
Good luck,
St.Ack
On Wed, Dec 8, 2010 at 9:15 AM, Peter Haidinyak <ph...@local.com> wrote:
> Ahoy hoy,
> Any good examples/samples on how to create and use a Custom Filter out there? I've been Googling for about an hour and the Pickens are slim :)
>
> Thanks
>
> -Pete
>
Re: Custom Filters
Posted by Stack <st...@duboce.net>.
Slim Pickens was one of my favorite movie stars:
http://en.wikipedia.org/wiki/File:Slim-pickens_riding-the-bomb_enh-lores.jpg
Your best bet would be study of the existing filters --
http://people.apache.org/~stack/hbase-0.90.0-candidate-1/docs/xref/org/apache/hadoop/hbase/filter/package-summary.html
-- and filter unit tests. What filter developers always forget to do
is add a code for their filter to HBaseObjectWritables -- look
hereabouts http://people.apache.org/~stack/hbase-0.90.0-candidate-1/docs/xref/org/apache/hadoop/hbase/io/HbaseObjectWritable.html#166
-- and it stumps them a while because failure mode is w/o descriptive
error (Enable DEBUG on org.apache.hadoop.ipc.HBaseServer if you find
yourself in situation where nothing works and all is failing silently
-- this will emit ipc logging). That said, the change to HOW may not
be needed any more given recent changes.
Good luck,
St.Ack
On Wed, Dec 8, 2010 at 9:15 AM, Peter Haidinyak <ph...@local.com> wrote:
> Ahoy hoy,
> Any good examples/samples on how to create and use a Custom Filter out there? I've been Googling for about an hour and the Pickens are slim :)
>
> Thanks
>
> -Pete
>
Re: Custom Filters
Posted by Jean-Daniel Cryans <jd...@apache.org>.
Hey Pete,
HBase provides a few filters already, like those listed here
http://hbase.apache.org/docs/r0.89.20100924/apidocs/org/apache/hadoop/hbase/filter/package-summary.html
Since it's open source, you can consider them all as examples :)
J-D
On Wed, Dec 8, 2010 at 9:15 AM, Peter Haidinyak <ph...@local.com> wrote:
> Ahoy hoy,
> Any good examples/samples on how to create and use a Custom Filter out there? I've been Googling for about an hour and the Pickens are slim :)
>
> Thanks
>
> -Pete
>