pan3793 commented on code in PR #8963:
URL: https://github.com/apache/hadoop/pull/8963#discussion_r4582250135


##########
dev-support/docker/pkg-resolver/install-spotbugs.sh:
##########
@@ -40,7 +40,7 @@ fi
 
 if [ "$version_to_install" == "4.2.2" ]; then
   mkdir -p /opt/spotbugs &&
-    curl -L -s -S 
https://github.com/spotbugs/spotbugs/releases/download/4.2.2/spotbugs-4.2.2.tgz 
\
+    curl -f -L -s -S --retry 5 --retry-delay 5 
https://github.com/spotbugs/spotbugs/releases/download/4.2.2/spotbugs-4.2.2.tgz 
\

Review Comment:
   I think mentioning the `curl` version-dependent retry behavior in the PR 
description is sufficient. anyway, the retry brings net benefits



-- 
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]

Reply via email to