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:
parent
ba598c6bed
commit
18dc5e84e2
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue