Author: garyh
Date: Sun Apr 10 18:25:35 2011
New Revision: 1090864
URL: http://svn.apache.org/viewvc?rev=1090864&view=rev
Log:
HBASE-3750 HTable.putTable() should release resources for discarded tables
(doc fix)
Modified:
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
Modified:
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java?rev=1090864&r1=1090863&r2=1090864&view=diff
==============================================================================
---
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
(original)
+++
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
Sun Apr 10 18:25:35 2011
@@ -114,7 +114,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) {