Commit 411bcd2
committed
[SPARK-43580][PYTHON][TESTS] Add
### What changes were proposed in this pull request?
This PR aims to add `https://dlcdn.apache.org/` to the default mirror site list during python installation tests.
### Why are the changes needed?
This is a preferred mirror. So, even if `https://www.apache.org/dyn/closer.lua` is inaccessible, we will download from `https://dlcdn.apache.org/`.
```
$ curl https://www.apache.org/dyn/closer.lua\?preferred\=true
https://dlcdn.apache.org/
```
Although we try to get this programmatically, sometimes `https://www.apache.org/dyn/closer.lua` seems to fail.
https://github.com/apache/spark/blob/acad77d56112f2cab2ce5adca913b75ce659add5/python/pyspark/install.py#L169C2-L179
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs.
Closes #41222 from dongjoon-hyun/SPARK-43580.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>https://dlcdn.apache.org/` to default_sites of get_preferred_mirrors
1 parent acad77d commit 411bcd2
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| |||
0 commit comments