hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject svn commit: r1478203 - /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Date Wed, 01 May 2013 21:53:50 GMT
Author: jmhsieh
Date: Wed May  1 21:53:50 2013
New Revision: 1478203

URL: http://svn.apache.org/r1478203
Log:
HBASE-8469 [hadoop2] Several tests break because of HDFS-4305

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

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java?rev=1478203&r1=1478202&r2=1478203&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Wed May  1 21:53:50 2013
@@ -217,6 +217,10 @@ public class HBaseTestingUtility extends
 
     // a hbase checksum verification failure will cause unit tests to fail
     ChecksumUtil.generateExceptionForChecksumFailureForTest(true);
+    
+    // hadoop-2.0.5+'s HDFS-4305 by default enforces a min blocks size of 1024*1024.  Many
unit
+    // tests that use the hlog use smaller blocks.  Setting this config to 0 to have tets
pass
+    conf.setInt("dfs.namenode.fs-limits.min-block-size", 0);
   }
 
   /**



Mime
View raw message