hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r1042878 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
Date Tue, 07 Dec 2010 00:42:00 GMT
Author: jdcryans
Date: Tue Dec  7 00:42:00 2010
New Revision: 1042878

URL: http://svn.apache.org/viewvc?rev=1042878&view=rev
Log:
Fixing TestFSErrorsExposed by disabling the log syncer

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java?rev=1042878&r1=1042877&r2=1042878&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
(original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
Tue Dec  7 00:42:00 2010
@@ -151,6 +151,10 @@ public class TestFSErrorsExposed {
   @Test
   public void testFullSystemBubblesFSErrors() throws Exception {
     try {
+      // We set it not to run or it will trigger server shutdown while sync'ing
+      // because all the datanodes are bad
+      util.getConfiguration().setInt(
+          "hbase.regionserver.optionallogflushinterval", Integer.MAX_VALUE);
       util.startMiniCluster(1);
       byte[] tableName = Bytes.toBytes("table");
       byte[] fam = Bytes.toBytes("fam");



Mime
View raw message