You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2020/05/28 15:26:18 UTC
[hadoop] branch trunk updated: HDFS-15368.
TestBalancerWithHANameNodes#testBalancerWithObserver failed occasionally.
Contributed by Xiaoqiao He.
This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new a838d87 HDFS-15368. TestBalancerWithHANameNodes#testBalancerWithObserver failed occasionally. Contributed by Xiaoqiao He.
a838d87 is described below
commit a838d871a76776016703f6c904fb049be2247626
Author: Ayush Saxena <ay...@apache.org>
AuthorDate: Thu May 28 20:47:46 2020 +0530
HDFS-15368. TestBalancerWithHANameNodes#testBalancerWithObserver failed occasionally. Contributed by Xiaoqiao He.
---
.../apache/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 185df12..b0ee04e 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 @@ public class TestBalancerWithHANameNodes {
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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org