Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> FuzzyRowFilter with ColumnRangeFilter


Copy link to this message
-
Re: FuzzyRowFilter with ColumnRangeFilter
Hi Ted,
I'm using 0.94.6.

 I'll setup a unix test.
On Thu, Jul 25, 2013 at 1:50 AM, Ted Yu <[EMAIL PROTECTED]> wrote:

> What HBase release are you using ?
>
> Can you put the scenario below in a unit test ?
>
> Thanks
>
> On Jul 24, 2013, at 11:13 PM, Premal Shah <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I was playing around with using FuzzyRowFilter for my use case which
> looks
> > like this
> >
> > rk - 18 bytes (2 bytes + 8 bytes + 8 bytes)
> > bytes 2-9 are fuzzy
> > the fuzzy mask looks like this (0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
> > 0, 0, 0 ,0)
> > the start and stop key control the scan range
> >
> > Running a scanner with just the FuzzyRowFilter works fine. However, I
> need
> > to limit the columns returned. So I have a ColumnRangeFilter too. Both
> the
> > filters are wrapped in a FilterList
> >
> > The combination of both, returns no rows from hbase with MUST_PASS_ALL
> set.
> > Hbase seems to be aborting when the row does not match Fuzzy
> > If MUST_PASS_ONE is set, then it returns the columns from the rows that
> > don't pass Fuzzy.
> >
> > How do you go about using the FilterList with both filters and return the
> > required rows only?
> >
> > --
> > Regards,
> > Premal Shah.
>

--
Regards,
Premal Shah.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB