From c7499f2d242c64bee8f822a22161d956525f7153 Mon Sep 17 00:00:00 2001 From: Tsz-Wo Nicholas Sze Date: Tue, 19 Dec 2017 10:02:30 +0800 Subject: [PATCH] HDFS-12347. TestBalancerRPCDelay#testBalancerRPCDelay fails very frequently. Contributed by Bharat Viswanadham --- .../org/apache/hadoop/hdfs/server/balancer/TestBalancer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a900ad191d..9452b8b1b2 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 @@ -2084,7 +2084,7 @@ void testBalancerRPCDelay() throws Exception { initConf(conf); conf.setInt(DFSConfigKeys.DFS_BALANCER_DISPATCHERTHREADS_KEY, 30); - int numDNs = 40; + int numDNs = 20; long[] capacities = new long[numDNs]; String[] racks = new String[numDNs]; for(int i = 0; i < numDNs; i++) {