hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r1088821 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java
Date Mon, 04 Apr 2011 23:34:33 GMT
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
  *
  * <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



Mime
View raw message