Description
We found, very often we open a scanner , get x number of rows , then close the scanner immediately. The attached patch , add a new function getScannerResults that does just that.
Using getScannerResults function reduce number of calls to thrift server. Also since the scanner gets closed immediately, it is less prone to cause memory leak.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-8852 Close scanners when at end in Thrift 2
- Closed