Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDE3D10ECF for ; Fri, 12 Jul 2013 13:21:50 +0000 (UTC) Received: (qmail 27181 invoked by uid 500); 12 Jul 2013 13:21:50 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 27152 invoked by uid 500); 12 Jul 2013 13:21:50 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 26901 invoked by uid 99); 12 Jul 2013 13:21:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 13:21:49 +0000 Date: Fri, 12 Jul 2013 13:21:49 +0000 (UTC) From: "Hamed Madani (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-8938) Thrift2 does not close scanner instance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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