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 86D97431D for ; Thu, 7 Jul 2011 23:28:40 +0000 (UTC) Received: (qmail 44661 invoked by uid 500); 7 Jul 2011 23:28:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 44279 invoked by uid 500); 7 Jul 2011 23:28:39 -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 44001 invoked by uid 99); 7 Jul 2011 23:28:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 23:28:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 23:28:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4BD8B4CEAA for ; Thu, 7 Jul 2011 23:28:17 +0000 (UTC) Date: Thu, 7 Jul 2011 23:28:17 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <1744033175.9529.1310081297307.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1711407130.8817.1309534228473.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4054) Usability improvement to HTablePool 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-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061668#comment-13061668 ] Hudson commented on HBASE-4054: ------------------------------- Integrated in HBase-TRUNK #2011 (See [https://builds.apache.org/job/HBase-TRUNK/2011/]) HBASE-4054 Usability improvement to HTablePool stack : Files : * /hbase/trunk/CHANGES.txt * /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java * /hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java > Usability improvement to HTablePool > ----------------------------------- > > Key: HBASE-4054 > URL: https://issues.apache.org/jira/browse/HBASE-4054 > Project: HBase > Issue Type: Improvement > Components: client > Affects Versions: 0.90.3 > Reporter: Daniel Iancu > Priority: Minor > Attachments: HBASE-4054_Usability_improvement_to_HTablePool-trunk.patch, HBASE-4054_Usability_improvement_to_HTablePool.patch > > > To improve the usability of the HTablePool the implementation should not rely on the user returning the connection to the pool but rather do that transparently when user closes the HTableImplementation it got. > > To do that a HTableImplementation proxy implementation should be returned that wraps a HTable object and holds a reference to the pool. When the client close the proxy it will actually automatically return the wrapped HTable back in pool to be reused. In this case the method HTablePool.putTable don't need to be public -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira