hbase-issues 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-8938) Thrift2 does not close scanner instance
Date Fri, 12 Jul 2013 13:21:49 GMT
Hamed Madani created HBASE-8938:
-----------------------------------

             Summary: Thrift2 does not close scanner instance
                 Key: HBASE-8938
                 URL: https://issues.apache.org/jira/browse/HBASE-8938
             Project: HBase
          Issue Type: Sub-task
          Components: Thrift
    Affects Versions: 0.94.0
            Reporter: Hamed Madani


closeScanner at *ThriftHBaseServiceHandler* simply remove scannerId from internal map, but
fails to close the scanner instance. 

{code}
  public void closeScanner(int scannerId) throws TIOError, TIllegalArgument, TException {
    if (removeScanner(scannerId) == null) {
      TIllegalArgument ex = new TIllegalArgument();
      ex.setMessage("Invalid scanner Id");
      throw ex;
    }
  }
{code}

--
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