HDFS-15368. TestBalancerWithHANameNodes#testBalancerWithObserver failed occasionally. Contributed by Xiaoqiao He.
This commit is contained in:
parent
d85c12ee69
commit
b6d732b96b
|
@ -236,6 +236,7 @@ public class TestBalancerWithHANameNodes {
|
||||||
TestBalancer.initConf(conf);
|
TestBalancer.initConf(conf);
|
||||||
// Avoid the same FS being reused between tests
|
// Avoid the same FS being reused between tests
|
||||||
conf.setBoolean("fs.hdfs.impl.disable.cache", true);
|
conf.setBoolean("fs.hdfs.impl.disable.cache", true);
|
||||||
|
conf.setBoolean(HdfsClientConfigKeys.Failover.RANDOM_ORDER, false);
|
||||||
|
|
||||||
MiniQJMHACluster qjmhaCluster = null;
|
MiniQJMHACluster qjmhaCluster = null;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue