hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13402) S3A should allow renaming to a pre-existing destination directory to move the source path under that directory, similar to HDFS.
Date Fri, 22 Jul 2016 14:30:21 GMT

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

Steve Loughran commented on HADOOP-13402:
-----------------------------------------

the root rename sounds like something you could put in the root dir operations of the FS contract
tests...be interesting to see how the other filesystems handle it

> S3A should allow renaming to a pre-existing destination directory to move the source
path under that directory, similar to HDFS.
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13402
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13402
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Rajesh Balamohan
>            Priority: Minor
>
> In HDFS, a rename to a destination path that is a pre-existing directory is interpreted
as moving the source path relative to that pre-existing directory.  In S3A, this operation
currently fails (does nothing and returns {{false}}), unless that destination directory is
empty.  This issue proposes to change S3A to allow this behavior, so that it more closely
matches the semantics of HDFS and other file systems.



--
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


Mime
View raw message