sahilTakiar opened a new pull request #1695: HADOOP-16685: FileSystem#listStatusIterator does not check if given path exists URL: https://github.com/apache/hadoop/pull/1695 [HADOOP-16685](https://issues.apache.org/jira/browse/HADOOP-16685): FileSystem#listStatusIterator does not check if given path exists Changed `DirListingIterator` so that the constructor makes the first call to `listStatusBatch`. This is similar to what `FileSystem#listFiles` does. Added a contract test in `AbstractContractGetFileStatusTest.java` to validate that `listStatusIterator` throws a FNF exception if the given `Path` does not exist.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org