[ 
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.

Reply via email to