Sahil Takiar created HADOOP-16685:
-------------------------------------
Summary: FileSystem#listStatusIterator does not check if given
path exists
Key: HADOOP-16685
URL: https://issues.apache.org/jira/browse/HADOOP-16685
Project: Hadoop Common
Issue Type: Bug
Components: fs
Reporter: Sahil Takiar
Assignee: Sahil Takiar
The Javadocs of FileSystem#listStatusIterator(final Path p) state that it
"@throws FileNotFoundException if <code>p</code> does not exist". However, that
does not seem to be the case. The method simply creates a DirListingIterator
which doesn't do an existence check.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]