hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <david.greensht...@gmail.com>
Subject Pagination using Java API wrong behaviour
Date Wed, 04 Mar 2015 12:26:55 GMT
I'm using Hbase running on 9 nodes. My table
distributed to 12 regions and contains about 113M records.

I'm running pagination query using 

/Filter pageFilter = new PageFilter(pageSize);
Scan scan = new Scan();
RegexStringComparator comp = new RegexStringComparator("._1");
RowFilter rowFilter = new RowFilter(CompareOp.EQUAL, comp);
FilterList filterList = new FilterList(Operator.MUST_PASS_ALL, pageFilter,

My page size is 100K, on page 30 query returns 0 results, hence I get only
3M results, but when I run query using hbase shell I get 14M.

Here is hbase shell query:
/scan 'mgrs', {COLUMNS => 'mtf:fences',FILTER =>

Why my pagination Java query returns less results than hbase shell query?
Maybe I miss some configuration on client side?


View this message in context: http://apache-hbase.679495.n3.nabble.com/Pagination-using-Java-API-wrong-behaviour-tp4068842.html
Sent from the HBase User mailing list archive at Nabble.com.

View raw message