hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9597) FileSystem open() API is not clear if FileNotFoundException is throw when the path does not exist
Date Fri, 15 Aug 2014 11:55:18 GMT

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

Steve Loughran updated HADOOP-9597:
-----------------------------------

    Fix Version/s: 2.5.0

> FileSystem open() API is not clear if FileNotFoundException is throw when the path does
not exist
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9597
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9597
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: documentation, fs
>    Affects Versions: 2.0.4-alpha
>            Reporter: Jerry He
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> The current FileSystem open() method throws a generic IOException in its API specification.
> Some FileSystem implementations (DFS, RawLocalFileSystem ...) throws more specific FileNotFoundException
if the path does not exist.  Some throws IOException only (FTPFileSystem, HftpFileSystem ...).

> If we have a new FileSystem implementation, what should we follow exactly for open()?
> What should the application expect in this case.
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message