Re: FuzzyRowFilter with ColumnRangeFilter

2014-04-05 Thread Ted Yu
In HBASE-6618, FuzzyRowFilter with range support is added. Does that serve your use case so that you don't need to use FilterList ? Cheers On Jul 24, 2013, at 11:13 PM, Premal Shah wrote: > Hi, > I was playing around with using FuzzyRowFilter for my use case which looks > like this > > rk -

Re: FuzzyRowFilter with ColumnRangeFilter

2013-07-29 Thread Premal Shah
The umask for set to 0002 instead of 0022. After updating it, the tests ran fine. Viral, who has opened another thread with title "FilterList: possible bug in getNextKeyHint" will submit the test and the patch Thanx. On Mon, Jul 29, 2013 at 10:40 AM, Ted Yu wrote: > To run a single test, you sh

Re: FuzzyRowFilter with ColumnRangeFilter

2013-07-29 Thread Premal Shah
Questions about unit tests: 1) I ran this to execute all tests in the filter package - mvn test -Dtest=org.apache.hadoop.hbase.filter.* The ColumnRangeFilter test fails with this error --- Test set: org.apache.hadoop.hbase

Re: FuzzyRowFilter with ColumnRangeFilter

2013-07-29 Thread Ted Yu
To run a single test, you should use the following command: mvn test -PrunAllTests -DfailIfNoTests=false -Dtest=xxx I ran TestColumnRangeFilter using tip of 0.94 code base and it passed. Did you use tip of 0.94 ? Cheers On Mon, Jul 29, 2013 at 10:32 AM, Premal Shah wrote: > Questions about uni

Re: FuzzyRowFilter with ColumnRangeFilter

2013-07-25 Thread Premal Shah
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 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 wrote: > > > Hi, > > I was playing around with us

Re: FuzzyRowFilter with ColumnRangeFilter

2013-07-25 Thread Ted Yu
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 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

FuzzyRowFilter with ColumnRangeFilter

2013-07-24 Thread Premal Shah
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 sc