Skip to content

Commit 0430eb9

Browse files
panbingkunilicmarkodb
authored andcommitted
[SPARK-48987][INFRA] Make curl retry 3 times in bin/mvn
### What changes were proposed in this pull request? The pr aims to make `curl` retry `3 times` in `bin/mvn`. ### Why are the changes needed? Avoid the following issues: https://github.com/panbingkun/spark/actions/runs/10067831390/job/27832101470 <img width="993" alt="image" src="https://github.com/user-attachments/assets/3fa9a59a-82cb-4e99-b9f7-d128f051d340"> ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Continuous manual observation. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#47465 from panbingkun/SPARK-48987. Authored-by: panbingkun <panbingkun@baidu.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent 9a14d74 commit 0430eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/mvn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ install_app() {
5858
local local_checksum="${local_tarball}.${checksum_suffix}"
5959
local remote_checksum="https://archive.apache.org/dist/${url_path}.${checksum_suffix}"
6060

61-
local curl_opts="--silent --show-error -L"
61+
local curl_opts="--retry 3 --retry-all-errors --silent --show-error -L"
6262
local wget_opts="--no-verbose"
6363

6464
if [ ! -f "$binary" ]; then

0 commit comments

Comments
 (0)