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 jb...@apache.org on 2021/06/11 16:01:20 UTC
[hadoop] branch trunk updated: HDFS-15671.
testBalancerRPCDelayQpsDefault fails intermittently (#3097)
This is an automated email from the ASF dual-hosted git repository.
jbrennan 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 352949d HDFS-15671. testBalancerRPCDelayQpsDefault fails intermittently (#3097)
352949d is described below
commit 352949d07002a8435a8ff67eecf88e4aa8bd5935
Author: Ahmed Hussein <50...@users.noreply.github.com>
AuthorDate: Fri Jun 11 11:00:42 2021 -0500
HDFS-15671. testBalancerRPCDelayQpsDefault fails intermittently (#3097)
---
.../java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
index 378d877..9af8ade 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
@@ -655,9 +655,11 @@ public class TestBalancer {
int numOfDatanodes = capacities.length;
try {
- cluster = new MiniDFSCluster.Builder(conf)
- .numDataNodes(0)
- .build();
+ cluster = new MiniDFSCluster
+ .Builder(conf)
+ .numDataNodes(0)
+ .setNNRedundancyConsiderLoad(false)
+ .build();
cluster.getConfiguration(0).setInt(DFSConfigKeys.DFS_REPLICATION_KEY,
DFSConfigKeys.DFS_REPLICATION_DEFAULT);
conf.setInt(DFSConfigKeys.DFS_REPLICATION_KEY,
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org