HDFS-12347. TestBalancerRPCDelay#testBalancerRPCDelay fails very frequently. Contributed by Bharat Viswanadham

This commit is contained in:
Tsz-Wo Nicholas Sze 2017-12-19 10:02:30 +08:00
parent c7a4dda3c5
commit c7499f2d24

View File

@ -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++) {