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-15104) AliyunOSS: change the default value of max error retry
Date Fri, 08 Dec 2017 16:28:00 GMT

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

Hudson commented on HADOOP-15104:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13347 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13347/])
HADOOP-15104. AliyunOSS: change the default value of max error retry. (zhengkai.zk: rev ce04340ec73617daff74378056a95c5d0cc0a790)
* (edit) hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java


> AliyunOSS: change the default value of max error retry
> ------------------------------------------------------
>
>                 Key: HADOOP-15104
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15104
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs/oss
>    Affects Versions: 3.0.0-beta1
>            Reporter: wujinhu
>            Assignee: wujinhu
>             Fix For: 3.0.0, 3.1.0
>
>         Attachments: HADOOP-15104.001.patch
>
>
> Currently, default number of times we should retry errors is 20,  however, oss sdk retry
delay is       
> {code:java}
> long delay = (long)Math.pow(2, retries) * 0.3
> {code}
>  when one error occurs. So, if we retry 20 times, sleep time will be about 3.64 days
and it is unacceptable. So we should change the default behavior.



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


Mime
View raw message