HDFS-14137. TestMaintenanceState fails with ArrayIndexOutOfBound Exception. Contributed by Ayush Saxena.
This commit is contained in:
parent
202926ac33
commit
60af851e59
@ -665,6 +665,8 @@ public void testMultipleNodesMaintenance() throws Exception {
|
||||
|
||||
int repl = 3;
|
||||
writeFile(fileSys, file, repl, 1);
|
||||
DFSTestUtil.waitForReplication((DistributedFileSystem) fileSys, file,
|
||||
(short) repl, 10000);
|
||||
final DatanodeInfo[] nodes = getFirstBlockReplicasDatanodeInfos(fileSys,
|
||||
file);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user