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:
parent
5b81ff6045
commit
cd8c3820ba
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue