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 C13AA98C7 for ; Fri, 4 Nov 2011 20:06:13 +0000 (UTC) Received: (qmail 30354 invoked by uid 500); 4 Nov 2011 20:06:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30292 invoked by uid 500); 4 Nov 2011 20:06:13 -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 30284 invoked by uid 99); 4 Nov 2011 20:06:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2011 20:06:13 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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, 04 Nov 2011 20:06:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 702A330C27E for ; Fri, 4 Nov 2011 20:05:52 +0000 (UTC) Date: Fri, 4 Nov 2011 20:05:52 +0000 (UTC) From: "Andrew Purtell (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <919653378.894.1320437152460.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <741040505.21773.1319674053463.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4684) REST server is leaking ZK connections in 0.90 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-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144288#comment-13144288 ] Andrew Purtell commented on HBASE-4684: --------------------------------------- I'm going to commit this today unless there is an objection. > REST server is leaking ZK connections in 0.90 > --------------------------------------------- > > Key: HBASE-4684 > URL: https://issues.apache.org/jira/browse/HBASE-4684 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.4 > Reporter: Jean-Daniel Cryans > Assignee: Andrew Purtell > Priority: Critical > Fix For: 0.90.5 > > Attachments: HBASE-4684-0.90.patch, HBASE-4684-v2-0.90.patch > > > As reported a month ago, http://search-hadoop.com/m/FD6gmKzrxY1, the REST server is leak ZK connections. Upon investigation I see that TableResource.scanTransformAttrs creates a new HBA per minute per table (when the server is getting requests) but never deletes the connection created in there. > There are a bunch of other places where HBAs are created but not cleaned after like SchemaResource, StorageClusterStatusResource, StorageClusterVersionResource, ExistsResource, etc. Those places shouldn't be as leaky under normal circumstances tho. > Thanks to Jack Levin for bringing up this issue again when he tried to upgrade. -- 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