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

AliyunOSS: change the default value of max error retry

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.0.0, 3.1.0, 2.10.0, 2.9.1, 3.0.1
    • fs/oss
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: