HBASE-2224 Broken build: TestGetRowVersions.testGetRowMultipleVersions

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@909720 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-02-13 04:04:57 +00:00
parent ba598c6bed
commit 18dc5e84e2
2 changed files with 5 additions and 0 deletions

View File

@ -202,6 +202,7 @@ Release 0.21.0 - Unreleased
(Kay Kay via Stack) (Kay Kay via Stack)
HBASE-2199 hbase.client.tableindexed.IndexSpecification, lines 72-73 HBASE-2199 hbase.client.tableindexed.IndexSpecification, lines 72-73
should be reversed (Adrian Popescu via Stack) should be reversed (Adrian Popescu via Stack)
HBASE-2224 Broken build: TestGetRowVersions.testGetRowMultipleVersions
IMPROVEMENTS IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable HBASE-1760 Cleanup TODOs in HTable

View File

@ -141,6 +141,10 @@ public class HTable implements HTableInterface {
this.maxKeyValueSize = conf.getInt("hbase.client.keyvalue.maxsize", -1); this.maxKeyValueSize = conf.getInt("hbase.client.keyvalue.maxsize", -1);
int nrHRS = getCurrentNrHRS(); int nrHRS = getCurrentNrHRS();
if (nrHRS == 0) {
// No servers running -- set default of 10 threads.
nrHRS = 10;
}
int nrThreads = conf.getInt("hbase.htable.threads.max", nrHRS); int nrThreads = conf.getInt("hbase.htable.threads.max", nrHRS);
// Unfortunately Executors.newCachedThreadPool does not allow us to // Unfortunately Executors.newCachedThreadPool does not allow us to