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

Konstantin Shvachko commented on HADOOP-6240:
---------------------------------------------

> I could certainly be convinced that this kind of behavior is out of scope for 
> HDFS and applications should use a database or zookeeper if they need 
> semantics like this.

Yes. Rename with replace is usually used as locking mechanism. So why not to 
use a locking service directly. like ZK.

> Rename operation is not consistent between different implementations of 
> FileSystem
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-6240
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6240
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>
> The rename operation has many scenarios that are not consistently implemented 
> across file systems.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to