[
https://issues.apache.org/jira/browse/HBASE-16886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15604619#comment-15604619
]
huzheng commented on HBASE-16886:
---------------------------------
[~tedyu][~zghaobac] Thanks for your reply.
patch v2 refactor prepare() and locateInRegions() method , because
SmallReversedScannerCallable inherit SmallScannerCallable.
As [~zghaobac] said, if SmallReversedScannerCallable inherit
ReversedScannerCallable , we do not need to refactor prepare() and
locateInRegions() , we only need to override rpcCall() method once. so I
made patch v3.
The v3 patch seems more clear .
> hbase-client: scanner with reversed=true and small=true gets no result
> ----------------------------------------------------------------------
>
> Key: HBASE-16886
> URL: https://issues.apache.org/jira/browse/HBASE-16886
> Project: HBase
> Issue Type: Bug
> Reporter: huzheng
> Labels: patch
> Attachments: HBASE-16886.v0.patch, HBASE-16886.v1.patch,
> HBASE-16886.v2.patch, HBASE-16886.v3.patch, TestReversedSmallScan.java
>
>
> Assume HBase have four regions (-oo, b), [b, c), [c, d), [d,+oo) , and all
> rowKeys are located in region [d, +oo). using a Reversed Small Scanner will
> get no result.
> Attached file show this failed test case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)