Author: garyh
Date: Sun Apr 10 18:24:55 2011
New Revision: 1090863
URL: http://svn.apache.org/viewvc?rev=1090863&view=rev
Log:
HBASE-3750 HTable.putTable() should release resources for discarded tables
(doc fix)
Modified:
hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
Modified:
hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
URL:
http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java?rev=1090863&r1=1090862&r2=1090863&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
(original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
Sun Apr 10 18:24:55 2011
@@ -111,7 +111,7 @@ public class HTablePool {
* Puts the specified HTable back into the pool.<p>
*
* If the pool already contains <i>maxSize</i> references to the table,
- * then nothing happens.
+ * then the table instance gets closed after flushing buffered edits.
* @param table table
*/
public void putTable(HTableInterface table) {