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

Hudson commented on HADOOP-6201:
--------------------------------

Integrated in Hadoop-Common-trunk #65 (See 
[http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/65/])
    . Change FileSystem::listStatus contract to throw
FileNotFoundException if the directory does not exist, rather than letting
this be implementation-specific. Contributed by Jakob Homan.


> 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