hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject svn commit: r1468563 - /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java
Date Tue, 16 Apr 2013 19:08:59 GMT
Author: jmhsieh
Date: Tue Apr 16 19:08:59 2013
New Revision: 1468563

URL: http://svn.apache.org/r1468563
Log:
HBASE-8349 TestLogRolling#testLogRollOnDatanodeDeath hangs under hadoop2 profile

Modified:
    hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java

Modified: hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java?rev=1468563&r1=1468562&r2=1468563&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java
(original)
+++ hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java
Tue Apr 16 19:08:59 2013
@@ -91,9 +91,13 @@ public class TestLogRolling  {
   }
 
   // Need to override this setup so we can edit the config before it gets sent
- // to the HDFS & HBase cluster startup.
- @BeforeClass
+  // to the HDFS & HBase cluster startup.
+  @BeforeClass
   public static void setUpBeforeClass() throws Exception {
+    // TODO: testLogRollOnDatanodeDeath fails if short circuit reads are on under the hadoop2
+    // profile. See HBASE-9337 for related issues.
+    System.setProperty("hbase.tests.use.shortcircuit.reads", "false");
+
     /**** configuration for testLogRolling ****/
     // Force a region split after every 768KB
     TEST_UTIL.getConfiguration().setLong(HConstants.HREGION_MAX_FILESIZE, 768L * 1024L);



Mime
View raw message