hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10458) swifts should throw FileAlreadyExistsException on attempt to overwrite file
Date Wed, 02 Apr 2014 12:36:24 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran updated HADOOP-10458:
------------------------------------

    Status: Patch Available  (was: Open)

> 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)

Mime
View raw message