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


##########
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:
   Thanks for making download failures report the HTTP status. The Rocky Linux 
8 image also uses this installer, and its curl 7.61.1 package does not retry 
HTTP 429 with `--retry`.
   
   Could you verify a `429` → `200` response sequence on that image and either 
handle it there or document the version-dependent retry behavior? This would 
also give Yetus a concrete manual validation step.



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