[ 
https://issues.apache.org/jira/browse/HADOOP-10458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957800#comment-13957800
 ] 

Steve Loughran commented on HADOOP-10458:
-----------------------------------------

there aren't any tests here as its the HADOOP-9361 code that adds the test; the 
latest patch there includes this patch, though it could go in first here

> swifts should throw FileAlreadyExistsException on attempt to overwrite file
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-10458
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10458
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.4.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-10458-001.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> the swift:// filesystem checks for and rejects {{create()}} calls over an 
> existing file if overwrite = false, but it throws a custom exception. 
> {{SwiftPathExistsException}}
> If it threw a {{org.apache.hadoop.fs.FileAlreadyExistsException}} it would 
> match HDFS



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

Reply via email to