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

Mingliang Liu commented on HADOOP-13846:
----------------------------------------

This proposal makes a lot of sense. My only concern is the FS#rename/3 is 
marked deprecated, and users may think we don't support this in any future.

> S3A to implement rename(final Path src, final Path dst, final Rename... 
> options)
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-13846
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13846
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>
> S3a now raises exceptions on invalid rename operations, but these get lost. I 
> plan to use them in my s3guard committer HADOOP-13786.
> Rather than just make innerRename() private, S3A could implement 
> {{FileSystem.rename(final Path src, final Path dst, final Rename... 
> options)}} and so have an exception-raising rename which can be called 
> without going more into the internals. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to