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 9072D10D4F for ; Fri, 16 Jan 2015 21:00:33 +0000 (UTC) Received: (qmail 30070 invoked by uid 500); 16 Jan 2015 21:00:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30018 invoked by uid 500); 16 Jan 2015 21:00:35 -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 30006 invoked by uid 99); 16 Jan 2015 21:00:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2015 21:00:35 +0000 Date: Fri, 16 Jan 2015 21:00:35 +0000 (UTC) From: "Hudson (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=14280812#comment-14280812 ] Hudson commented on HBASE-12833: -------------------------------- FAILURE: Integrated in HBase-1.1 #87 (See [https://builds.apache.org/job/HBase-1.1/87/]) HBASE-12833 [shell] table.rb leaks connections (Solomon Duskis) (enis: rev e64c4008351c169acf2d5777274c35143ba89201) * hbase-shell/src/test/ruby/test_helper.rb * hbase-shell/src/test/ruby/hbase/admin_test.rb * hbase-shell/src/test/ruby/hbase/table_test.rb * hbase-shell/src/main/ruby/hbase/hbase.rb * hbase-shell/src/test/ruby/hbase/visibility_labels_admin_test.rb * hbase-shell/src/main/ruby/hbase/table.rb * hbase-shell/src/main/ruby/hbase/admin.rb * hbase-shell/src/test/ruby/hbase/security_admin_test.rb > [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)