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

Suresh Srinivas commented on HADOOP-6240:
-----------------------------------------

Owen actually educated me that protected will also work here.

rename2 functionality cannot be implemented in FileContext. Given the existing 
implementation of rename, for rename2 we have to delete existing rename 
destination (directories or files) before proceeding to call rename. That will 
not be atomic. Additionally if rename2 is not being exposed to applications and 
is not a public method.

> 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