hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hamed Madani (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8946) add a new function to thrift 2 to open scanner, get results and close scanner
Date Sun, 14 Jul 2013 21:50:47 GMT
Hamed Madani created HBASE-8946:
-----------------------------------

             Summary: 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
         Attachments: HBASE-8946.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

Mime
View raw message