hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4874) create with OVERWRITE deletes existing file without checking the lease: feature or a bug.
Date Tue, 04 Jun 2013 05:06:22 GMT

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

Suresh Srinivas commented on HDFS-4874:
---------------------------------------

I think the current behavior is the right one. Overwrite flag indicates that if a file already
exists, it needs to be overwritten, irrespective of if a file is in complete state or being
written state.

My vote would be to close this as "Not a problem".
                
> create with OVERWRITE deletes existing file without checking the lease: feature or a
bug.
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-4874
>                 URL: https://issues.apache.org/jira/browse/HDFS-4874
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.0.4-alpha
>            Reporter: Konstantin Shvachko
>
> create with OVERWRITE flag will remove a file under construction even if the issuing
client does not hold a lease on the file.
> It could be a bug or the feature that applications rely upon.

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

Mime
View raw message