You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2019/12/03 21:35:00 UTC

[jira] [Updated] (HADOOP-16685) FileSystem#listStatusIterator does not check if given path exists

     [ https://issues.apache.org/jira/browse/HADOOP-16685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei-Chiu Chuang updated HADOOP-16685:
-------------------------------------
    Fix Version/s: 3.2.2

> 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
>             Fix For: 3.3.0, 3.2.2
>
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org