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

Steve Loughran commented on HADOOP-6240:
----------------------------------------

Just a heads up that I've filed HADOOP-13856 to make this protected, 
@Deprecated {{rename(past, dest, opts)}} method public and undeprecated. For 
all its failings, {{FileSystem}} is the universal API for FS access, used in 
the downstream projects and the one generally implemented by object stores, in 
the hadoop code and elsewhere. Large amounts of Hadoop's own code uses it, in 
particular FileOutputFormat used for committing work to filesystems

making the {{rename(past, dest, opts)}} method public allows 
{{FileOutputFormat}} to adopt it along with its stricter semantics, and should 
provide the motivation for more FS subclasses to implement the method directly, 
for better atomicity, or at least performance.

> 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
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>         Attachments: hadoop-6240-1.patch, hadoop-6240-2.patch, 
> hadoop-6240-3.patch, hadoop-6240-4.patch, hadoop-6240-5.patch, 
> hadoop-6240.patch
>
>
> The rename operation has many scenarios that are not consistently implemented 
> across file systems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to