Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.23.0
-
None
-
None
-
None
Description
In the testDeleteBlockPool function, when file deletion failure, the while loop hangs.
fs1.delete(new Path("/alpha"), true); //deletion failure // Wait till all blocks are deleted from the dn2 for bpid1. while ((MiniDFSCluster.getFinalizedDir(dn2StorageDir1, bpid1).list().length != 0) || (MiniDFSCluster.getFinalizedDir( dn2StorageDir2, bpid1).list().length != 0)) { try { Thread.sleep(3000); } catch (Exception ignored) { } }