You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/12/02 13:40:58 UTC

[jira] [Commented] (HADOOP-13846) S3A to implement rename(final Path src, final Path dst, final Rename... options)

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

Steve Loughran commented on HADOOP-13846:
-----------------------------------------

+ rename/3 is also marked as protected; we will actually have to make it publc. ViewFS will need to implement it too.

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org