[
https://issues.apache.org/jira/browse/HADOOP-20077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145475#comment-18145475
]
ASF GitHub Bot commented on HADOOP-20077:
-----------------------------------------
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
> Make curl downloads in docker pkg-resolver scripts fail on HTTP errors and
> retry
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-20077
> URL: https://issues.apache.org/jira/browse/HADOOP-20077
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: dzcxzl
> Priority: Minor
> Labels: pull-request-available
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]