HDFS-15671. testBalancerRPCDelayQpsDefault fails intermittently (#3097)
This commit is contained in:
parent
51ebf7b2a0
commit
352949d070
@ -655,9 +655,11 @@ private void doTest(Configuration conf, long[] capacities,
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user