I forgot to set firstRow for Scanner. Looks like HBase tried to scan the
whole table. Value from FilterPrefix wasn't used. I supposed that prefix
value could be pushed to scanner as a starting point, but not.
2015-04-06 18:45 GMT+02:00 Imants Cekusins ima...@gmail.com:
may this be related:
Yes, scan goes through entire table unless start row is set.
does this explain the error though?
Prefix filter should work even with scan beginning from 1st record, no?
It would only take longer.
Yes, it's explains. My table has 70M rows, and prefix filter should scan
just for 10 starting
Hi Serega,
Yes, you need to set start row when using Prefix filter.
Another smart trick for prefix filter:
Set the prefix as start-row of scan and set the next byteorder
successor(next bigger byte array with same number of bytes) as stop row of
your scan.
For example(using chars for simplicity):
Hi, I'm trying to use PrefixFilter for the RowKey.
My rowKey consists of 3 parts, actually it's composite.
I do provide first part of key to scan all rows starting from prefix. There
should be less than 10 rowkeys for each prefix, since prefix is md5 hash.
I have itests for this part of code, it
Looks like I didn't set startRow for the scanner...
2015-04-06 17:04 GMT+02:00 Serega Sheypak serega.shey...@gmail.com:
Hi, I'm trying to use PrefixFilter for the RowKey.
My rowKey consists of 3 parts, actually it's composite.
I do provide first part of key to scan all rows starting from
may this be related:
https://issues.apache.org/jira/browse/HBASE-11295
?