[
https://issues.apache.org/jira/browse/HBASE-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714021#comment-13714021
]
Lars George commented on HBASE-8946:
------------------------------------
Sorry [~madani], just check [~jdcryans] link and it is the one from HBASE-3852,
which is still open. That patch only has the Thrift scanner leak code in it,
not the scan and scanMore he is referring to, so please disregard my last
comment. Hey [~jdcryans], could you have a quick looksee here if Hamed's patch
is covering what you had internally?
> Add a new function to Thrift 2 to open scanner, get results and close scanner
> -----------------------------------------------------------------------------
>
> Key: HBASE-8946
> URL: https://issues.apache.org/jira/browse/HBASE-8946
> Project: HBase
> Issue Type: Sub-task
> Components: Thrift
> Reporter: Hamed Madani
> Labels: thrift2
> Attachments: HBASE-8946.patch, HBASE-8946-V2.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira