pan3793 commented on code in PR #55238:
URL: https://github.com/apache/spark/pull/55238#discussion_r3049028848
##########
build/sbt-launch-lib.bash:
##########
@@ -182,6 +183,18 @@ run() {
set -- "${residual_args[@]}"
argumentCount=$#
+ # If MAVEN_MIRROR_URL is set, generate a repositories config so the SBT
launcher
+ # resolves SBT and Scala through the mirror during the boot phase.
+ if [[ -n "$MAVEN_MIRROR_URL" ]]; then
+ local sbt_repo_config="$(mktemp /tmp/sbt-repositories.XXXXXX)"
Review Comment:
it's a little bit hacky, users may want to configure more than one repo
sometimes
in Apache Celeborn, we allow users to have a
`build/sbt-config/repositories-local` (ignored by Git), and provide several
common templates
https://github.com/apache/celeborn/blob/main/build/sbt-config/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]