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 AE57E9599 for ; Fri, 23 Mar 2012 21:25:51 +0000 (UTC) Received: (qmail 47829 invoked by uid 500); 23 Mar 2012 21:25:51 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 47800 invoked by uid 500); 23 Mar 2012 21:25:51 -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 47786 invoked by uid 99); 23 Mar 2012 21:25:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2012 21:25:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2012 21:25:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 030C13438E3 for ; Fri, 23 Mar 2012 21:25:28 +0000 (UTC) Date: Fri, 23 Mar 2012 21:25:28 +0000 (UTC) From: "Shaneal Manek (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <827772245.10533.1332537928013.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1539179868.11609.1330031093699.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5466) Opening a table also opens the metatable and never closes it. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237153#comment-13237153 ] Shaneal Manek commented on HBASE-5466: -------------------------------------- Hi, I'm running into this problem on a 0.90 cluster. The patch seems to apply cleanly to 0.90 branch - could a committer add it there too? > Opening a table also opens the metatable and never closes it. > ------------------------------------------------------------- > > Key: HBASE-5466 > URL: https://issues.apache.org/jira/browse/HBASE-5466 > Project: HBase > Issue Type: Bug > Components: client > Affects Versions: 0.90.5, 0.92.0 > Reporter: Ashley Taylor > Assignee: Ashley Taylor > Fix For: 0.92.1 > > Attachments: MetaScanner_HBASE_5466(2).patch, MetaScanner_HBASE_5466(3).patch, MetaScanner_HBASE_5466.patch > > > Having upgraded to CDH3U3 version of hbase we found we had a zookeeper connection leak, tracking it down we found that closing the connection will only close the zookeeper connection if all calls to get the connection have been closed, there is incCount and decCount in the HConnection class, > When a table is opened it makes a call to the metascanner class which opens a connection to the meta table, this table never gets closed. > This caused the count in the HConnection class to never return to zero meaning that the zookeeper connection will not close when we close all the tables or calling > HConnectionManager.deleteConnection(config, true); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira