[
https://issues.apache.org/jira/browse/HBASE-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833314#action_12833314
]
stack commented on HBASE-2224:
------------------------------
So, things happen quick now. On restart of the cluster in this test, can be
zero servers when we check so do following:
{code}
Index: src/java/org/apache/hadoop/hbase/client/HTable.java
===================================================================
--- src/java/org/apache/hadoop/hbase/client/HTable.java (revision 909707)
+++ src/java/org/apache/hadoop/hbase/client/HTable.java (working copy)
@@ -141,6 +141,10 @@
this.maxKeyValueSize = conf.getInt("hbase.client.keyvalue.maxsize", -1);
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);
// Unfortunately Executors.newCachedThreadPool does not allow us to
{code}
> Broken build: TestGetRowVersions.testGetRowMultipleVersions
> ------------------------------------------------------------
>
> Key: HBASE-2224
> URL: https://issues.apache.org/jira/browse/HBASE-2224
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Fix For: 0.21.0
>
>
> Hudson is broke.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.