You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/04/02 14:12:14 UTC

[jira] [Created] (HADOOP-10458) swifts should throw FileAlreadyExistsException on attempt to overwrite file

Steve Loughran created HADOOP-10458:
---------------------------------------

             Summary: 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


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)