Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15104

AliyunOSS: change the default value of max error retry

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: 3.0.0, 3.1.0, 2.10.0, 2.9.1, 3.0.1
    • Component/s: fs/oss
    • Labels:
      None

      Description

      Currently, default number of times we should retry errors is 20, however, oss sdk retry delay is

      long delay = (long)Math.pow(2, retries) * 0.3
      

      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.

        Attachments

        1. HADOOP-15104.001.patch
          0.8 kB
          wujinhu

          Activity

            People

            • Assignee:
              wujinhu wujinhu
              Reporter:
              wujinhu wujinhu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment