Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Incompatible change
-
DistributedFileSystem#listStatusIterator(..) throws FileNotFoundException if directory got deleted during iterating over large list beyond ls limit.
Description
DFS#listStatusIterator(..) currently stops iterating silently when the directory gets deleted before fetching the next batch of entries.
It should throw FileNotFoundException() and let user know that file is deleted in the middle.