From a838d871a76776016703f6c904fb049be2247626 Mon Sep 17 00:00:00 2001 From: Ayush Saxena Date: Thu, 28 May 2020 20:47:46 +0530 Subject: [PATCH] HDFS-15368. TestBalancerWithHANameNodes#testBalancerWithObserver failed occasionally. Contributed by Xiaoqiao He. --- .../hadoop/hdfs/server/balancer/TestBalancerWithHANameNodes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancerWithHANameNodes.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancerWithHANameNodes.java index 185df1246d..b0ee04e00f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancerWithHANameNodes.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancerWithHANameNodes.java @@ -198,6 +198,7 @@ private void testBalancerWithObserver(boolean withObserverFailure) TestBalancer.initConf(conf); // Avoid the same FS being reused between tests conf.setBoolean("fs.hdfs.impl.disable.cache", true); + conf.setBoolean(HdfsClientConfigKeys.Failover.RANDOM_ORDER, false); MiniQJMHACluster qjmhaCluster = null; try {