Return-Path: Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: (qmail 62609 invoked from network); 4 Apr 2011 23:34:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Apr 2011 23:34:54 -0000 Received: (qmail 73073 invoked by uid 500); 4 Apr 2011 23:34:54 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 73049 invoked by uid 500); 4 Apr 2011 23:34:54 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 73042 invoked by uid 99); 4 Apr 2011 23:34:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 23:34:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 23:34:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5716423888FE; Mon, 4 Apr 2011 23:34:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1088821 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java Date: Mon, 04 Apr 2011 23:34:33 -0000 To: commits@hbase.apache.org From: jdcryans@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110404233433.5716423888FE@eris.apache.org> Author: jdcryans Date: Mon Apr 4 23:34:33 2011 New Revision: 1088821 URL: http://svn.apache.org/viewvc?rev=1088821&view=rev Log: Added some more doc about reusing HBC Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java?rev=1088821&r1=1088820&r2=1088821&view=diff ============================================================================== --- hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java (original) +++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java Mon Apr 4 23:34:33 2011 @@ -69,9 +69,10 @@ import org.apache.zookeeper.KeeperExcept * *

Instances of HTable passed the same {@link Configuration} instance will * share connections to servers out on the cluster and to the zookeeper ensemble - * as well as caches of region locations. This is usually a *good* thing. + * as well as caches of region locations. This is usually a *good* thing and it + * is recommended to reuse the same configuration object for all your tables. * This happens because they will all share the same underlying - * {@link HConnection} instance. See {@link HConnectionManager} for more on + * {@link HConnection} instance. See {@link HConnectionManager} for more on * how this mechanism works. * *

{@link HConnection} will read most of the