[
https://issues.apache.org/jira/browse/HADOOP-13600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15754712#comment-15754712
]
ASF GitHub Bot commented on HADOOP-13600:
-----------------------------------------
Github user thodemoor commented on a diff in the pull request:
https://github.com/apache/hadoop/pull/157#discussion_r92831039
--- Diff:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Constants.java
---
@@ -99,17 +99,25 @@ private Constants() {
public static final String MAX_PAGING_KEYS = "fs.s3a.paging.maximum";
public static final int DEFAULT_MAX_PAGING_KEYS = 5000;
- // the maximum number of threads to allow in the pool used by
TransferManager
- public static final String MAX_THREADS = "fs.s3a.threads.max";
- public static final int DEFAULT_MAX_THREADS = 10;
+ // the maximum number of threads to allow in the pool used by
TransferManager for uploads
+ public static final String UPLOAD_MAX_THREADS = "fs.s3a.threads.max";
+ public static final int UPLOAD_DEFAULT_MAX_THREADS = 10;
+
+ // the maximum number of threads to allow in the pool used by
TransferManager for copies
+ public static final String COPY_MAX_THREADS = "fs.s3a.threads.max";
--- End diff --
fs.s3a.copy.threads.max?
> 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
>
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]