hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject svn commit: r1467426 - /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
Date Fri, 12 Apr 2013 19:14:22 GMT
Author: jmhsieh
Date: Fri Apr 12 19:14:22 2013
New Revision: 1467426

URL: http://svn.apache.org/r1467426
Log:
HBASE-7636 TestDistributedLogSplitting#testThreeRSAbort fails against hadoop 2.0

Modified:
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java?rev=1467426&r1=1467425&r2=1467426&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
Fri Apr 12 19:14:22 2013
@@ -72,6 +72,11 @@ public class TestDistributedLogSplitting
   private static final Log LOG = LogFactory.getLog(TestSplitLogManager.class);
   static {
     Logger.getLogger("org.apache.hadoop.hbase").setLevel(Level.DEBUG);
+
+    // test ThreeRSAbort fails under hadoop2 (2.0.2-alpha) if shortcircuit-read (scr) is
on. this
+    // turns it off for this test.  TODO: Figure out why scr breaks recovery. 
+    System.setProperty("hbase.tests.use.shortcircuit.reads", "false");
+
   }
 
   // Start a cluster with 2 masters and 6 regionservers



Mime
View raw message