[jira] [Updated] (HADOOP-9651) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists
[ https://issues.apache.org/jira/browse/HADOOP-9651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-9651: --- Status: Open (was: Patch Available) incorporated in the uber-JIRA HADOOP-9361 Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists - Key: HADOOP-9651 URL: https://issues.apache.org/jira/browse/HADOOP-9651 Project: Hadoop Common Issue Type: Sub-task Components: fs Affects Versions: 2.1.0-beta Reporter: Steve Loughran Priority: Minor Attachments: HADOOP-9651.patch While HDFS and other filesystems throw a {{FileAlreadyExistsException}} if you try to create a file that exists and you have set {{overwrite=false}}, {{RawLocalFileSystem}} throws a plain {{IOException}}. This makes it impossible to distinguish a create operation failing from a fixable problem (the file is there) and something more fundamental. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HADOOP-9651) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists
[ https://issues.apache.org/jira/browse/HADOOP-9651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-9651: --- Issue Type: Bug (was: Sub-task) Parent: (was: HADOOP-9361) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists - Key: HADOOP-9651 URL: https://issues.apache.org/jira/browse/HADOOP-9651 Project: Hadoop Common Issue Type: Bug Components: fs Affects Versions: 2.1.0-beta Reporter: Steve Loughran Priority: Minor Attachments: HADOOP-9651.patch While HDFS and other filesystems throw a {{FileAlreadyExistsException}} if you try to create a file that exists and you have set {{overwrite=false}}, {{RawLocalFileSystem}} throws a plain {{IOException}}. This makes it impossible to distinguish a create operation failing from a fixable problem (the file is there) and something more fundamental. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HADOOP-9651) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists
[ https://issues.apache.org/jira/browse/HADOOP-9651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré updated HADOOP-9651: - Attachment: (was: HADOOP-9651.patch) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists - Key: HADOOP-9651 URL: https://issues.apache.org/jira/browse/HADOOP-9651 Project: Hadoop Common Issue Type: Sub-task Components: fs Affects Versions: 2.1.0-beta Reporter: Steve Loughran Priority: Minor Attachments: HADOOP-9651.patch While HDFS and other filesystems throw a {{FileAlreadyExistsException}} if you try to create a file that exists and you have set {{overwrite=false}}, {{RawLocalFileSystem}} throws a plain {{IOException}}. This makes it impossible to distinguish a create operation failing from a fixable problem (the file is there) and something more fundamental. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-9651) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists
[ https://issues.apache.org/jira/browse/HADOOP-9651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré updated HADOOP-9651: - Attachment: HADOOP-9651.patch New patch with fix on other filesystems. Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists - Key: HADOOP-9651 URL: https://issues.apache.org/jira/browse/HADOOP-9651 Project: Hadoop Common Issue Type: Sub-task Components: fs Affects Versions: 2.1.0-beta Reporter: Steve Loughran Priority: Minor Attachments: HADOOP-9651.patch While HDFS and other filesystems throw a {{FileAlreadyExistsException}} if you try to create a file that exists and you have set {{overwrite=false}}, {{RawLocalFileSystem}} throws a plain {{IOException}}. This makes it impossible to distinguish a create operation failing from a fixable problem (the file is there) and something more fundamental. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-9651) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists
[ https://issues.apache.org/jira/browse/HADOOP-9651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré updated HADOOP-9651: - Attachment: HADOOP-9651.patch Patch for the RawLocalFileSystem (including unit tests) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists - Key: HADOOP-9651 URL: https://issues.apache.org/jira/browse/HADOOP-9651 Project: Hadoop Common Issue Type: Sub-task Components: fs Affects Versions: 2.1.0-beta Reporter: Steve Loughran Priority: Minor Attachments: HADOOP-9651.patch While HDFS and other filesystems throw a {{FileAlreadyExistsException}} if you try to create a file that exists and you have set {{overwrite=false}}, {{RawLocalFileSystem}} throws a plain {{IOException}}. This makes it impossible to distinguish a create operation failing from a fixable problem (the file is there) and something more fundamental. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-9651) Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists
[ https://issues.apache.org/jira/browse/HADOOP-9651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré updated HADOOP-9651: - Status: Patch Available (was: Open) This patch updates the RawLocalFileSystem to throw FileAlreadyExistsException. Filesystems to throw FileAlreadyExistsException in createFile(path, overwrite=false) when the file exists - Key: HADOOP-9651 URL: https://issues.apache.org/jira/browse/HADOOP-9651 Project: Hadoop Common Issue Type: Sub-task Components: fs Affects Versions: 2.1.0-beta Reporter: Steve Loughran Priority: Minor Attachments: HADOOP-9651.patch While HDFS and other filesystems throw a {{FileAlreadyExistsException}} if you try to create a file that exists and you have set {{overwrite=false}}, {{RawLocalFileSystem}} throws a plain {{IOException}}. This makes it impossible to distinguish a create operation failing from a fixable problem (the file is there) and something more fundamental. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira