Dear Duo,
Apologies for not understanding this. I’m not very familiar with the HBase
server internals. I thought there was a link between
AsyncScanSingleRegionRpcRetryingCaller#closeScanner(…) and an actual *active*
close in the region server through RSRpcServices#scan(…) to
RSRpcSevices#close
As I explained above, there is no way to 'cancel' a running scan at
the region server side, we will remove the scanner from the lease map
while we are scanning, so sending a close scanner request to the
region server can only get an unknown scanner exception.
You can configure 'hbase.client.scanne
Hi Duo,
Thanks for your explanation. This actually what currently is implemented; as in
the pseudo code below.
This would be beneficial of course. E.g., if a scan would be a full-table scan
with e.g. a column name filter that doesn’t return any results, this would
waste a lot of effort in the
For asynchronous scan, we will send scan request to region server in
background, and once there is a scan result returned from the region
server, we can issue the next scan request.
And in fact, we still do not have the ability to actually 'cancel' a
scan request which is running at region server s