[
https://issues.apache.org/jira/browse/HDFS-602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HDFS-602:
---------------------------------
Resolution: Fixed
Fix Version/s: 0.21.0
Release Note: DistributedFileSystem mkdirs throws
FileAlreadyExistsException instead of FileNotFoundException.
Hadoop Flags: [Incompatible change, Reviewed] (was: [Incompatible change])
Status: Resolved (was: Patch Available)
I just committed this. Thank you Boris.
> 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
> Fix For: 0.21.0
>
> 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.