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 D2A8ADC4F for ; Tue, 14 Aug 2012 05:05:41 +0000 (UTC) Received: (qmail 49506 invoked by uid 500); 14 Aug 2012 05:05:41 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 49401 invoked by uid 500); 14 Aug 2012 05:05:40 -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 49122 invoked by uid 99); 14 Aug 2012 05:05:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2012 05:05:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 43F522C5ACD for ; Tue, 14 Aug 2012 05:05:38 +0000 (UTC) Date: Tue, 14 Aug 2012 16:05:38 +1100 (NCT) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: <1205814872.6036.1344920738279.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HBASE-6580) New HTable pools, based on HBase(byte[], HConnection, ExecutorService) constructor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Lars Hofhansl created HBASE-6580: ------------------------------------ Summary: New HTable pools, based on HBase(byte[], HConnection, ExecutorService) constructor Key: HBASE-6580 URL: https://issues.apache.org/jira/browse/HBASE-6580 Project: HBase Issue Type: Bug Reporter: Lars Hofhansl Priority: Minor Fix For: 0.96.0, 0.94.2 Here I propose a very simple TablePool. It could be called LightHTablePool (or something - if you have a better name). Internally it would maintain an HConnection and an Executor service and each invocation of getTable(...) would create a new HTable and close() would just close it. In testing I find this more light weight than HTablePool and easier to monitor in terms of resources used. It would hardly be more than a few dozen lines of code. -- 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