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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2018/11/26 12:58:00 UTC
[jira] [Updated] (HADOOP-15949) open(PathHandle) spec and
implementations ambiguous about what to raise when path is deleted
[ https://issues.apache.org/jira/browse/HADOOP-15949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran updated HADOOP-15949:
------------------------------------
Priority: Minor (was: Major)
> open(PathHandle) spec and implementations ambiguous about what to raise when path is deleted
> --------------------------------------------------------------------------------------------
>
> Key: HADOOP-15949
> URL: https://issues.apache.org/jira/browse/HADOOP-15949
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 3.1.1
> Reporter: Steve Loughran
> Priority: Minor
>
> It's not clear exactly what exception must be raised if the file referenced by a path handle is deleted in the interval between the path handle being created and it being opened.
> For reference
> * RawLocalFileSystem: FileNotFoundException, either in getFileStatus or the File.open() call.
> * HDFS: varies between FNFE and InvalidPathHandleException
> Having experimented with it, it's hard to make them consistent —and we don't know what other implementations may do. Probably best to say "may throw either"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org