[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=17803027#comment-17803027 ] Shilun Fan commented on HADOOP-13846: - Bulk update: moved all 3.4.0 non-blocker issues, please move back if it is a blocker. Retarget 3.5.0. > 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 >Priority: Major > > 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 (v8.20.10#820010) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[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=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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[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=15708389#comment-15708389 ] Steve Loughran commented on HADOOP-13846: - yes. I will have to remove that marker in the process > 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
[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=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
[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=15706366#comment-15706366 ] Steve Loughran commented on HADOOP-13846: - Requirements # rename/3 behaviour to be specified fully. It's better than rename/2 here. # contract tests # S3a to implement with contract tests # have rename/2 forward to the new rename, catching IOEs and downgrading to return codes, the way it now does. Are behaviours consistent enough to do that? > 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