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 8C0FE10E7E for ; Fri, 8 Nov 2013 16:25:21 +0000 (UTC) Received: (qmail 10033 invoked by uid 500); 8 Nov 2013 16:25:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 9925 invoked by uid 500); 8 Nov 2013 16:25:21 -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 9859 invoked by uid 99); 8 Nov 2013 16:25:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 16:25:19 +0000 Date: Fri, 8 Nov 2013 16:25:19 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9117) Remove HTablePool and all HConnection pooling related APIs 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-9117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817405#comment-13817405 ] stack commented on HBASE-9117: ------------------------------ [~nkeywal] Do the createConnections have a corresponding close? I suppose this a pretty radical change making it so every time we create a scanner, even if a short scanner, we make a new connection; that is more heavyweight? I love the cleanup. We going to break clients? I suppose we've deprecated for a long time now AND what we have is really messy to make sense of. > Remove HTablePool and all HConnection pooling related APIs > ---------------------------------------------------------- > > Key: HBASE-9117 > URL: https://issues.apache.org/jira/browse/HBASE-9117 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > Assignee: Lars Hofhansl > Fix For: 0.98.0 > > Attachments: HBASE-9117.00.patch > > > The recommended way is now: > # Create an HConnection: HConnectionManager.createConnection(...) > # Create a light HTable: HConnection.getTable(...) > # table.close() > # connection.close() > All other API and pooling will be removed. -- This message was sent by Atlassian JIRA (v6.1#6144)