Files
ChenjunweiandClaude Opus 4.7 407823768f [fix](build) Prefer thirdparty mirror for JuiceFS downloads (#61968)
## Summary
- prefer the datalake-owned HK OSS mirror for JuiceFS Hadoop jar
downloads in both docker and thirdparty build flows
- keep upstream Maven Central and JuiceFS GitHub release as the fallback
path when the mirror is unavailable
- add shell regression coverage for the new default mirror path and
fallback behavior

## Mirror Path
- mirror root:
`https://doris-regression-hk.oss-cn-hongkong.aliyuncs.com/regression/datalake/thirdparty/juicefs`
- hadoop jar:
`https://doris-regression-hk.oss-cn-hongkong.aliyuncs.com/regression/datalake/thirdparty/juicefs/juicefs-hadoop-1.3.1.jar`
- cli archive:
`https://doris-regression-hk.oss-cn-hongkong.aliyuncs.com/regression/datalake/thirdparty/juicefs/juicefs-1.3.1-linux-amd64.tar.gz`

## Root Cause
JuiceFS downloads were hardcoded to Maven Central and GitHub release
endpoints in the docker and thirdparty scripts. Network jitter on those
upstream endpoints could stall or fail docker startup and thirdparty
downloads.

## Impact
JuiceFS-related bootstrap paths now use the datalake HK OSS mirror by
default while preserving upstream fallback. This avoids depending on the
shared thirdparty mirror for the JuiceFS path.

## Test Plan
- `bash docker/thirdparties/test/juicefs-helpers-mirror-test.sh`
- `bash thirdparty/test/juicefs-default-mirror-test.sh`
- `bash thirdparty/test/download-thirdparty-fallback-test.sh`
- `bash -n docker/thirdparties/juicefs-helpers.sh thirdparty/vars.sh
docker/thirdparties/test/juicefs-helpers-mirror-test.sh
thirdparty/test/juicefs-default-mirror-test.sh
thirdparty/test/download-thirdparty-fallback-test.sh`
- `HEAD
https://doris-regression-hk.oss-cn-hongkong.aliyuncs.com/regression/datalake/thirdparty/juicefs/juicefs-hadoop-1.3.1.jar`
- `HEAD
https://doris-regression-hk.oss-cn-hongkong.aliyuncs.com/regression/datalake/thirdparty/juicefs/juicefs-1.3.1-linux-amd64.tar.gz`
- direct download verification for both objects after upload

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 17:47:25 +08:00
..