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 1571F104A8 for ; Thu, 18 Jul 2013 21:20:50 +0000 (UTC) Received: (qmail 4473 invoked by uid 500); 18 Jul 2013 21:20:49 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 4434 invoked by uid 500); 18 Jul 2013 21:20:49 -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 4384 invoked by uid 99); 18 Jul 2013 21:20:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 21:20:49 +0000 Date: Thu, 18 Jul 2013 21:20:49 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8988) Reuse the thread pool in the shell to not run out of threads 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-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712871#comment-13712871 ] Jean-Daniel Cryans commented on HBASE-8988: ------------------------------------------- Thanks Lars, I wasn't sure if this was "broken" in 0.94 so that's why I didn't bother... but I just tested it and I was wrong! So thanks again. > Reuse the thread pool in the shell to not run out of threads > ------------------------------------------------------------ > > Key: HBASE-8988 > URL: https://issues.apache.org/jira/browse/HBASE-8988 > Project: HBase > Issue Type: Bug > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.98.0, 0.95.2, 0.94.10 > > Attachments: 8988-0.94.txt, HBASE-8988.patch > > > I was trying some stuff in the shell and tried just to get a few puts in a loop to a table. I quickly ran out of threads (java.lang.OutOfMemoryError: unable to create new native thread). > It seems we create a new HTable per get/put/etc call. We could just reuse one thread pool instead. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira