Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 40511 invoked from network); 15 Jul 2009 01:17:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 01:17:37 -0000 Received: (qmail 92931 invoked by uid 500); 15 Jul 2009 01:17:47 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 92908 invoked by uid 500); 15 Jul 2009 01:17:47 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 92687 invoked by uid 99); 15 Jul 2009 01:17:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 01:17:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 01:17:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D17EB29A0015 for ; Tue, 14 Jul 2009 18:17:14 -0700 (PDT) Message-ID: <2140876444.1247620634857.JavaMail.jira@brutus> Date: Tue, 14 Jul 2009 18:17:14 -0700 (PDT) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Assigned: (HBASE-1655) Usability improvements to HTablePool In-Reply-To: <1901009354.1247601194943.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Gray reassigned HBASE-1655: ------------------------------------ Assignee: Ken Weiner Ken, added you as a contributor so you can now assign yourself issues and such. > Usability improvements to HTablePool > ------------------------------------ > > Key: HBASE-1655 > URL: https://issues.apache.org/jira/browse/HBASE-1655 > Project: Hadoop HBase > Issue Type: Improvement > Components: client > Reporter: Ken Weiner > Assignee: Ken Weiner > Attachments: HBASE-1655-v2-partial.patch, HBASE-1655.patch > > > A discussion on the HBase user mailing list (http://markmail.org/thread/7leeha56ny5mwecg) led to some suggested improvements for the org.apache.hadoop.hbase.client.HTablePool class. > I will be submitting a patch that contains the following changes to HTablePool: > * Remove constructors that were not used. > * Change access to remaining contstructor from public to private to enforce use of the static factory method getPool. > * Change internal map from TreeMap to HashMap because I couldn't see any reason it needed to be sorted. > * Remove HBaseConfiguration and tableName member variables since they aren't really properties of the pool itself. They are associated with the HTable that should get instantiated when one is requested from the pool, but not already there. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.