HBASE-8469 [hadoop2] Several tests break because of HDFS-4305

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1478203 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Hsieh 2013-05-01 21:53:50 +00:00
parent 5b81ff6045
commit cd8c3820ba
1 changed files with 4 additions and 0 deletions

View File

@ -217,6 +217,10 @@ public class HBaseTestingUtility extends HBaseCommonTestingUtility {
// 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);
}
/**