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 B7534174B7 for ; Mon, 12 Jan 2015 17:56:33 +0000 (UTC) Received: (qmail 52461 invoked by uid 500); 12 Jan 2015 17:56:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 52413 invoked by uid 500); 12 Jan 2015 17:56: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 52401 invoked by uid 99); 12 Jan 2015 17:56:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2015 17:56:35 +0000 Date: Mon, 12 Jan 2015 17:56:35 +0000 (UTC) From: "Solomon Duskis (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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:all-tabpanel ] Solomon Duskis updated HBASE-12833: ----------------------------------- Attachment: HBASE-12833.patch Closing connections in shell tests. > [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 > > > 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)