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

Robert Chansler updated HADOOP-6201:
------------------------------------

    Release Note: 
FileSystem listStatus method throws FileNotFoundException for all 
implementations. Application code should catch or propagate 
FileNotFoundException.


  was:
Solidify FileSystem contract for listStatus method when the provided path does 
not exist. The method is now guaranteed to throw a FileNotFoundException, 
whereas some FileSystem implementations had previously returned null in this 
case. Existing code that relies on checking for null should be updated to catch 
or propagate a FileNotFoundException.



Editorial pass over all release notes prior to publication of 0.21.

> FileSystem::ListStatus should throw FileNotFoundException
> ---------------------------------------------------------
>
>                 Key: HADOOP-6201
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6201
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6201.patch
>
>
> As discussed in HDFS-538, it would be better for FileSystem and its 
> implementations to throw FileNotFoundException when the file is not found, 
> rather than returning null.  This will bring it in line with getFileStatus 
> and, I expect, default user expectations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to