hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject svn commit: r1478281 - /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScanBase.java
Date Thu, 02 May 2013 06:29:03 GMT
Author: jmhsieh
Date: Thu May  2 06:29:02 2013
New Revision: 1478281

URL: http://svn.apache.org/r1478281
Log:
HBASE-8477 [hadoop2] TestTableInputFormatScan* fails intermittently with PriviledgeActionException

Modified:
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScanBase.java

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScanBase.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScanBase.java?rev=1478281&r1=1478280&r2=1478281&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScanBase.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScanBase.java
Thu May  2 06:29:02 2013
@@ -67,6 +67,10 @@ public abstract class TestTableInputForm
 
   @BeforeClass
   public static void setUpBeforeClass() throws Exception {
+    // test intermittently 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");
+
     // switch TIF to log at DEBUG level
     TEST_UTIL.enableDebug(TableInputFormat.class);
     TEST_UTIL.enableDebug(TableInputFormatBase.class);



Mime
View raw message