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 "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/07/16 22:18:49 UTC

[jira] [Commented] (HADOOP-9702) FileSystem should fail create call with OverWrite and Append flags

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

Jean-Baptiste Onofré commented on HADOOP-9702:
----------------------------------------------

Patch submitted for trunk.
                
> FileSystem should fail create call with OverWrite and Append flags
> ------------------------------------------------------------------
>
>                 Key: HADOOP-9702
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9702
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Suresh Srinivas
>         Attachments: HADOOP-9702.patch
>
>
> OverWrite flag means delete the existing file. Append flag means append to an existing file. Both cannot be enabled at the same time.
> Following combinations are okay:
> # Create & Overwrite is okay - if file does not exist, it is created. If it exists, it will be overwritten.
> # Create & Append is okay - if file does not exist, create it. If the file exists append to it.

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