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

Konstantin Shvachko commented on HDFS-4874:
-------------------------------------------

This sounds like an acceptable behaviour. Is it the same in other versions?
                
> 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

Reply via email to