hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r909720 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/client/HTable.java
Date Sat, 13 Feb 2010 04:04:57 GMT
Author: stack
Date: Sat Feb 13 04:04:57 2010
New Revision: 909720

URL: http://svn.apache.org/viewvc?rev=909720&view=rev
Log:
HBASE-2224 Broken build: TestGetRowVersions.testGetRowMultipleVersions

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=909720&r1=909719&r2=909720&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sat Feb 13 04:04:57 2010
@@ -202,6 +202,7 @@
                (Kay Kay via Stack)
    HBASE-2199  hbase.client.tableindexed.IndexSpecification, lines 72-73
                should be reversed (Adrian Popescu via Stack)
+   HBASE-2224  Broken build: TestGetRowVersions.testGetRowMultipleVersions
 
   IMPROVEMENTS
    HBASE-1760  Cleanup TODOs in HTable

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java?rev=909720&r1=909719&r2=909720&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java Sat Feb 13 04:04:57
2010
@@ -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



Mime
View raw message