[ 
https://issues.apache.org/jira/browse/HADOOP-16685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982784#comment-16982784
 ] 

Hudson commented on HADOOP-16685:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #17696 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/17696/])
HADOOP-16685: FileSystem#listStatusIterator does not check if given path 
(weichiu: rev 3161813482868e42befb618d6f5687d8ffed0e5c)
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractGetFileStatusTest.java


> 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
>            Priority: Major
>
> 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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to