hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-602) Atempt to make a directory under an existing file on DistributedFileSystem should throw an FileAlreadyExistsException instead of FileNotFoundException
Date Thu, 10 Sep 2009 07:17:57 GMT

    [ https://issues.apache.org/jira/browse/HDFS-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753472#action_12753472
] 

Suresh Srinivas commented on HDFS-602:
--------------------------------------

Minor comment - FileAlreadyExistsException does not seem appropriate in this scenario. Could
IOException be used instead?

> Atempt to make a directory under an existing file on DistributedFileSystem should throw
an FileAlreadyExistsException instead of FileNotFoundException
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-602
>                 URL: https://issues.apache.org/jira/browse/HDFS-602
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>         Attachments: HDFS-602.patch
>
>
> Atempt to make a directory under an existing file on DistributedFileSystem should throw
an FileAlreadyExistsException instead of FileNotFoundException.
> Also we should unwrap this exception from RemoteException

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


Mime
View raw message