[jira] [Commented] (HADOOP-15104) AliyunOSS: change default max error retry
[ https://issues.apache.org/jira/browse/HADOOP-15104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16283678#comment-16283678 ] Kai Zheng commented on HADOOP-15104: A minor change that makes sense. +1. > AliyunOSS: change default 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, 2.9.1 > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Commented] (HADOOP-15104) AliyunOSS: change default max error retry
[ https://issues.apache.org/jira/browse/HADOOP-15104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16283659#comment-16283659 ] wujinhu commented on HADOOP-15104: -- Attach for trunk > AliyunOSS: change default 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, 2.9.1 > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org