hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sahil Takiar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13600) S3a rename() to copy files in a directory in parallel
Date Tue, 12 Sep 2017 17:48:02 GMT

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

Sahil Takiar commented on HADOOP-13600:

[~stevel@apache.org] thanks for taking a look!

* Thanks for the tip with the S3Guard testing, I re-ran the tests with the local dynamodb
enabled, tests pass
* I made some modifications so that all directories are deleted after the files, and they
are deleted in the order returned by {{#listFilesAndEmptyDirectories}}
* I tried to move some stuff out into separate classes to decrease the # of lines
* I creates a new class called `LazyTransferManager` that lazily initializes the `TransferManager`

> S3a rename() to copy files in a directory in parallel
> -----------------------------------------------------
>                 Key: HADOOP-13600
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13600
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 2.7.3
>            Reporter: Steve Loughran
>            Assignee: Sahil Takiar
>         Attachments: HADOOP-13600.001.patch
> Currently a directory rename does a one-by-one copy, making the request O(files * data).
If the copy operations were launched in parallel, the duration of the copy may be reducable
to the duration of the longest copy. For a directory with many files, this will be significant

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