You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ji...@apache.org on 2008/10/20 05:06:55 UTC

svn commit: r706112 - in /hadoop/hbase/trunk: CHANGES.txt src/test/org/apache/hadoop/hbase/HBaseClusterTestCase.java

Author: jimk
Date: Sun Oct 19 20:06:54 2008
New Revision: 706112

URL: http://svn.apache.org/viewvc?rev=706112&view=rev
Log:
HBASE-919   Master and Region Server need to provide root region location if they are using HTable

With J-D's one line patch, test cases now appear to work and PerformanceEvaluation works as before.

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseClusterTestCase.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=706112&r1=706111&r2=706112&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sun Oct 19 20:06:54 2008
@@ -33,6 +33,8 @@
                connection and shut themselves down
    HBASE-919   Master and Region Server need to provide root region location if
                they are using HTable
+               With J-D's one line patch, test cases now appear to work and
+               PerformanceEvaluation works as before.
 
   IMPROVEMENTS
    HBASE-901   Add a limit to key length, check key and value length on client side

Modified: hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseClusterTestCase.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseClusterTestCase.java?rev=706112&r1=706111&r2=706112&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseClusterTestCase.java (original)
+++ hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/HBaseClusterTestCase.java Sun Oct 19 20:06:54 2008
@@ -90,6 +90,9 @@
     // start the mini cluster
     this.cluster = new MiniHBaseCluster(conf, regionServers);
     // opening the META table ensures that cluster is running
+    // We need to sleep because we cannot open a HTable when the cluster
+    // is not ready
+    Thread.sleep(5000);
     HTable meta = new HTable(conf, ".META.");
   }