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 0A8CE114A1 for ; Fri, 27 Jun 2014 22:43:26 +0000 (UTC) Received: (qmail 15490 invoked by uid 500); 27 Jun 2014 22:43:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 15378 invoked by uid 500); 27 Jun 2014 22:43:25 -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 15034 invoked by uid 99); 27 Jun 2014 22:43:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 22:43:25 +0000 Date: Fri, 27 Jun 2014 22:43:25 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10330) TableInputFormat/TableRecordReaderImpl leaks HTable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046491#comment-14046491 ] Ted Yu commented on HBASE-10330: -------------------------------- Planning to integrate later today if there is no more review comment. > TableInputFormat/TableRecordReaderImpl leaks HTable > --------------------------------------------------- > > Key: HBASE-10330 > URL: https://issues.apache.org/jira/browse/HBASE-10330 > Project: HBase > Issue Type: Bug > Affects Versions: 0.96.0 > Reporter: G G > Assignee: Ted Yu > Priority: Blocker > Fix For: 0.99.0, 0.98.4 > > Attachments: 10330-v1.txt > > > As far as I can tell, TableInputFormat creates an instance of HTable which is used by TableRecordReaderImpl. However TableRecordReaderImpl.close() only closes the scanner, not the table. In turn the HTable's HConnection's reference count is never decreased which leads to leaking HConnections. > TableOutputFormat might have a similar bug. -- This message was sent by Atlassian JIRA (v6.2#6252)