Commit caf02ee
authored
infra: prefer downloads.apache.org, fallback to archive.apache.org (#2494)
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
This PR changes the Dockerfile url to use `downloads.apache.org/spark`
first and then fallbacks to `https://archive.apache.org/dist`.
This should give us speed and reliability.
`https://archive.apache.org/dist` is very slow, we switch to it because
its more reliable and contains all versions of Spark.
`downloads.apache.org/spark` hosts the latest versions of spark, its
typically faster.
Thanks @mccormickt12 for the great idea!
## Are these changes tested?
yes
```
make test-integration-rebuild && make test-integration
```
also tested fallback logic
## Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->1 parent 6935b41 commit caf02ee
1 file changed
+16
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
48 | 61 | | |
49 | 62 | | |
50 | 63 | | |
| |||
0 commit comments