cxzl25 commented on code in PR #50114:
URL: https://github.com/apache/spark/pull/50114#discussion_r2378048179
##########
build/mvn:
##########
@@ -130,7 +130,7 @@ install_mvn() {
local MIRROR_URL_QUERY="?action=download"
if [ $(command -v curl) ]; then
- if ! curl -L --output /dev/null --silent --head --fail
"${APACHE_MIRROR}/${FILE_PATH}${MIRROR_URL_QUERY}" ; then
+ if ! curl -L --output /dev/null --retry 3 --silent --head --fail
"${APACHE_MIRROR}/${FILE_PATH}.asc${MIRROR_URL_QUERY}" ; then
Review Comment:
Can we only retain retry logic? Only `--head` is used here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]