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 351D317B4E for ; Thu, 15 Jan 2015 22:28:33 +0000 (UTC) Received: (qmail 29353 invoked by uid 500); 15 Jan 2015 22:28:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 29303 invoked by uid 500); 15 Jan 2015 22:28:34 -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 29291 invoked by uid 99); 15 Jan 2015 22:28:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2015 22:28:34 +0000 Date: Thu, 15 Jan 2015 22:28:34 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12833) [shell] table.rb leaks connections 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-12833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14279402#comment-14279402 ] Enis Soztutar commented on HBASE-12833: --------------------------------------- bq. On closer inspection, it looks like SecurityAdmin and VisibilityLabelsAdmin need updated with this new style as well. That is a different jira right? I'm +1 for this if hadoopqa passes. > [shell] table.rb leaks connections > ---------------------------------- > > Key: HBASE-12833 > URL: https://issues.apache.org/jira/browse/HBASE-12833 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 1.0.0, 2.0.0, 1.1.0 > Reporter: Nick Dimiduk > Assignee: Solomon Duskis > Fix For: 1.0.0, 2.0.0, 1.1.0 > > Attachments: HBASE-12833.patch, HBASE-12833.patch > > > TestShell is erring out (timeout) consistently for me. Culprit is OOM cannot create native thread. It looks to me like test_table.rb and hbase/table.rb are made for leaking connections. table calls ConnectionFactory.createConnection() for every table but provides no close() method to clean it up. test_table creates a new table with every test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)