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

AliyunOSS: change the default value of max error retry

    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

          Activity

            People

            • Assignee:
              wujinhu wujinhu
              Reporter:
              wujinhu wujinhu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: