You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jd...@apache.org on 2011/04/05 01:36:15 UTC

svn commit: r1088823 - /hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java

Author: jdcryans
Date: Mon Apr  4 23:36:15 2011
New Revision: 1088823

URL: http://svn.apache.org/viewvc?rev=1088823&view=rev
Log:
Added some more doc about reusing HBC

Modified:
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java?rev=1088823&r1=1088822&r2=1088823&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java Mon Apr  4 23:36:15 2011
@@ -65,9 +65,10 @@ import org.apache.zookeeper.KeeperExcept
  *
  * <p>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.
  *
  * <p>{@link HConnection} will read most of the