hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8852) Close scanners when at end in Thrift 2
Date Tue, 02 Jul 2013 12:26:20 GMT
Lars George created HBASE-8852:

             Summary: Close scanners when at end in Thrift 2
                 Key: HBASE-8852
                 URL: https://issues.apache.org/jira/browse/HBASE-8852
             Project: HBase
          Issue Type: Sub-task
          Components: Thrift
            Reporter: Lars George

HBASE-6073 adds the following to the overall patch:

-      return resultsFromHBase(scanner.next(numRows));
+      List<TResult> results = resultsFromHBase(scanner.next(numRows));
+      if(results.size() < numRows) {
+        removeScanner(scannerId);
+      }
+      return results;

We need to see if we have to add this to Thrift2 as separate patch.

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

View raw message