Re: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-21 Thread Eugeny Morozov
Finally, the mystery has been solved. Small remark before I explain everything. The situation with only region is absolutely the same: Fzzy: 1Q7iQ9JA Next fzzy: F7dtxwqVQ_Pw -- the value I'm trying to find. Fzzy: F7dt8QWPSIDw Somehow FuzzyRowFilter has just omit my value here. So, the

Re: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-21 Thread ramkrishna vasudevan
On Mon, Jan 21, 2013 at 1:46 PM, Eugeny Morozov emoro...@griddynamics.comwrote: I do not understand why with FuzzyFilter it goes from one region to another until it stops at the value. I suppose if scanning process has started at once on all regions Scanning process does not start parallely

RE: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-21 Thread Anoop Sam John
. But the normal scan from client side will be sequential on the regions not parallel. -Anoop- From: Eugeny Morozov [emoro...@griddynamics.com] Sent: Monday, January 21, 2013 1:46 PM To: user@hbase.apache.org Cc: Alex Baranau Subject: Re: Custom Filter

Re: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-21 Thread Eugeny Morozov
Morozov [emoro...@griddynamics.com] Sent: Monday, January 21, 2013 1:46 PM To: user@hbase.apache.org Cc: Alex Baranau Subject: Re: Custom Filter and SEEK_NEXT_USING_HINT issue Finally, the mystery has been solved. Small remark before I explain everything. The situation with only region

Re: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-20 Thread Eugeny Morozov
Ted, thanks for the question. There are results of investigation. It seems I am mistaken. I thought that scanners are assigned to each regions to scan (and do that in parallel) and that means each scanner should start from the beginning of its region and then fall down to the required record.

Re: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-20 Thread Michael Segel
If its the same class and its not a patch, then the first class loaded wins. So if you have a Class Foo and HBase has a Class Foo, your code will never see the light of day. Perhaps I'm stating the obvious but its something to think about when working w Hadoop. On Jan 19, 2013, at 3:36 AM,

Re: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-19 Thread Eugeny Morozov
Ted, that is correct. HBase 0.92.x and we use part of the patch 6509. I use the filter as a custom filter, it lives in separate jar file and goes to HBase's classpath. I did not patch HBase. Moreover I do not use protobuf's descriptions that comes with the filter in patch. Only two classes I

Re: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-19 Thread Ted
In your original email you said the first key looked like start key of a region, can you verify that ? Thanks On Jan 19, 2013, at 1:36 AM, Eugeny Morozov emoro...@griddynamics.com wrote: Ted, that is correct. HBase 0.92.x and we use part of the patch 6509. I use the filter as a custom

Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-18 Thread Eugeny Morozov
Hi, folks! HBase, Hadoop, etc version is CDH-4.1.2 I'm using custom FuzzyRowFilter, which I get from http://blog.sematext.com/2012/08/09/consider-using-fuzzyrowfilter-when-in-need-for-secondary-indexes-in-hbase/and suddenly after quite a time we found that it starts loosing data. Basically the

Re: Custom Filter and SEEK_NEXT_USING_HINT issue

2013-01-18 Thread Ted Yu
To my knowledge CDH-4.1.2 is based on HBase 0.92.x Looks like you were using patch from HBASE-6509 which was integrated to trunk only. Please confirm. Copying Alex who wrote the patch. Cheers On Fri, Jan 18, 2013 at 3:28 PM, Eugeny Morozov emoro...@griddynamics.comwrote: Hi, folks! HBase,