mirror of
https://github.com/apache/doris.git
synced 2026-11-04 07:31:17 +00:00
## 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>