hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13823) s3a rename: fail if dest file exists
Date Tue, 29 Nov 2016 01:02:37 GMT

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

Hudson commented on HADOOP-13823:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10901 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10901/])
HADOOP-13823. s3a rename: fail if dest file exists. Contributed by Steve (liuml07: rev d60a60be8aa450c44d3be69d26c88025e253ac0c)
* (edit) hadoop-tools/hadoop-aws/src/test/resources/contract/s3a.xml
* (add) hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/RenameFailedException.java
* (edit) hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java
* (edit) hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AFileSystemContract.java

> s3a rename: fail if dest file exists
> ------------------------------------
>                 Key: HADOOP-13823
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13823
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 2.7.3
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 2.8.0, 3.0.0-alpha2
>         Attachments: HADOOP-13813-branch-2-001.patch, HADOOP-13823-branch-2-002.patch
> HIVE-15199 shows that s3a allows rename onto an existing file, which is something HDFS,
azure and s3n do not permit (though file:// does). This is breaking bits of Hive, is an inconsistency
with HDFS and a regression compared to s3n semantics.
> I propose: rejecting the rename on a file -> file rename if the destination exists
(easy) and changing the s3a.xml contract file to declare the behavior change; this is needed
for {{AbstractContractRenameTest.testRenameFileOverExistingFile}} to handle the changed semantics.

This message was sent by Atlassian JIRA

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

View raw message