You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/12 19:00:00 UTC

[jira] [Closed] (HBASE-3958) use Scan with setCaching() and PageFilter have a problem

     [ https://issues.apache.org/jira/browse/HBASE-3958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell closed HBASE-3958.
--------------------------------------

> use Scan with setCaching() and PageFilter have a problem
> --------------------------------------------------------
>
>                 Key: HBASE-3958
>                 URL: https://issues.apache.org/jira/browse/HBASE-3958
>             Project: HBase
>          Issue Type: Bug
>          Components: Filters, regionserver
>    Affects Versions: 0.90.3
>         Environment: Linux testbox 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.6.0_23"
> Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
> Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
>            Reporter: Jerry Du
>            Priority: Minor
>
> I have a table with 3 ranges,then I scan the table cross all 3 ranges.
> Scan scan = new Scan();
> scan.setCaching(10);
> scan.setFilter(new PageFilter(21));
> [result rows count = 63]
> the Result has 63 rows, each range has scaned,and locally limit to page_szie.That is expect result.
> Then if the page_size = N * caching_size, then result has only page_size rows,only the first range has scanned.
> If page_size is Multiple of caching_size,one range rsult just align fill the caching,then client NOT trrige next range scan.
> Example:
> Scan scan = new Scan();
> scan.setCaching(10);
> scan.setFilter(new PageFilter(20));
> [result rows count = 20]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)