[
https://issues.apache.org/jira/browse/HADOOP-19992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HADOOP-19992:
------------------------------------
Labels: pull-request-available (was: )
> AliyunOSS: Retry OSS multipart completion on QpsLimitExceeded
> -------------------------------------------------------------
>
> Key: HADOOP-19992
> URL: https://issues.apache.org/jira/browse/HADOOP-19992
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs/oss
> Affects Versions: 3.4.3
> Reporter: JunboWang
> Priority: Minor
> Labels: pull-request-available
>
> In hadoop-aliyun, CompleteMultipartUpload is not retried by the OSS Java
> SDK's default policy. A QpsLimitExceeded response can therefore fail an
> output stream close or multipart copy. Increasing fs.oss.attempts.maximum
> does not resolve this.
> Proposed change:
> - Share completion retry logic between multipart uploads and copies.
> - Retry only QpsLimitExceeded, with exponential backoff and jitter capped at
> 10 seconds. Add fs.oss.multipart.complete.retry.limit (default: 3 retries
> after the initial attempt) and fs.oss.multipart.complete.retry.interval
> (default: 500 ms). Propagate the failure when retries are exhausted.
> - Do not treat NoSuchUpload or an existing object alone as proof of success
> if a completion response is lost.
> - Add regression tests in existing test classes for recovery, retry
> exhaustion, non-retryable errors, and uncertain completion. No new
> dependencies.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]