You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/02/13 04:53:27 UTC

[jira] Created: (HBASE-2224) Broken build: TestGetRowVersions.testGetRowMultipleVersions

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.


[jira] Resolved: (HBASE-2224) Broken build: TestGetRowVersions.testGetRowMultipleVersions

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-2224.
--------------------------

    Resolution: Fixed
      Assignee: stack

Committed TRUNK

> Broken build: TestGetRowVersions.testGetRowMultipleVersions 
> ------------------------------------------------------------
>
>                 Key: HBASE-2224
>                 URL: https://issues.apache.org/jira/browse/HBASE-2224
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: 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.


[jira] Commented: (HBASE-2224) Broken build: TestGetRowVersions.testGetRowMultipleVersions

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ 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.