HBASE-3712 HTable.close() doesn't shutdown thread pool

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1087582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-04-01 05:26:37 +00:00
parent 5de1c25b33
commit 21e68ab791
2 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,8 @@ Release 0.91.0 - Unreleased
(Kazuki Ohta via todd)
HBASE-3716 Intermittent TestRegionRebalancing failure
(Ted Yu via Stack)
HBASE-3712 HTable.close() doesn't shutdown thread pool
(Ted Yu via Stack)
IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -842,6 +842,7 @@ public class HTable implements HTableInterface {
@Override
public void close() throws IOException {
flushCommits();
this.pool.shutdown();
}
// validate for well-formedness