You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "wujinhu (JIRA)" <ji...@apache.org> on 2018/01/03 12:58:00 UTC
[jira] [Issue Comment Deleted] (HADOOP-15027) AliyunOSS:
Improvements for Hadoop read from AliyunOSS
[ https://issues.apache.org/jira/browse/HADOOP-15027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wujinhu updated HADOOP-15027:
-----------------------------
Comment: was deleted
(was: update default configure
{code:java}
--- a/hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java
+++ b/hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java
@@ -101,14 +101,14 @@ private Constants() {
public static final String MULTIPART_DOWNLOAD_THREAD_NUMBER_KEY =
"fs.oss.multipart.download.threads";
- public static final int MULTIPART_DOWNLOAD_THREAD_NUMBER_DEFAULT = 10;
+ public static final int MULTIPART_DOWNLOAD_THREAD_NUMBER_DEFAULT = 16;
public static final String MAX_TOTAL_TASKS = "fs.oss.max.total.tasks";
- public static final int DEFAULT_MAX_TOTAL_TASKS = 128;
+ public static final int DEFAULT_MAX_TOTAL_TASKS = 1024;
public static final String MULTIPART_DOWNLOAD_AHEAD_PART_MAX_NUM_KEY =
"fs.oss.multipart.download.ahead.part.max.number";
- public static final int MULTIPART_DOWNLOAD_AHEAD_PART_MAX_NUM_DEFAULT = 8;
+ public static final int MULTIPART_DOWNLOAD_AHEAD_PART_MAX_NUM_DEFAULT = 4;
{code}
)
> AliyunOSS: Improvements for Hadoop read from AliyunOSS
> ------------------------------------------------------
>
> Key: HADOOP-15027
> URL: https://issues.apache.org/jira/browse/HADOOP-15027
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/oss
> Affects Versions: 3.0.0
> Reporter: wujinhu
> Assignee: wujinhu
> Attachments: HADOOP-15027.001.patch, HADOOP-15027.002.patch, HADOOP-15027.003.patch, HADOOP-15027.004.patch, HADOOP-15027.005.patch, HADOOP-15027.006.patch
>
>
> Currently, AliyunOSSInputStream uses single thread to read data from AliyunOSS, so we can do some refactoring by using multi-thread pre-read to improve read performance.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org