From c2c5aac943deb3bd3a2ad75cf8c3da5b2c219985 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 26 Nov 2026 08:43:09 -0800 Subject: [PATCH] test: fall back to a Maven Central mirror for the Spark Lance connector (#13031) spark-submit resolved the Lance bundle and its dependencies through Ivy from Maven Central only, so a refused Central request failed the run in seconds with "module not found". --repositories adds the Google mirror after Central in Ivy's resolver chain. Co-authored-by: Claude Opus 5.5 --- test/s3tables/catalog_spark_lance/spark_lance_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/s3tables/catalog_spark_lance/spark_lance_test.go b/test/s3tables/catalog_spark_lance/spark_lance_test.go index f7e4468f62..27b5704721 100644 --- a/test/s3tables/catalog_spark_lance/spark_lance_test.go +++ b/test/s3tables/catalog_spark_lance/spark_lance_test.go @@ -27,6 +27,7 @@ const ( // Pinned: the connector is as much the thing under test as the server, and // an unrelated release should not change what an old commit reproduces. lancePackages = "org.lance:lance-spark-bundle-3.5_2.12:0.7.1" + mavenMirror = "https://maven-central.storage-download.googleapis.com/maven2/" startupTimeout = 60 * time.Second clientTimeout = 25 * time.Minute ) @@ -297,6 +298,7 @@ func (env *environment) runSpark(t *testing.T, bucket string) { sparkImage, "/opt/spark/bin/spark-submit", "--packages", lancePackages, + "--repositories", mavenMirror, "--conf", "spark.jars.ivy=/tmp/ivy", "/opt/spark/work-dir/spark_lance_ops.py", "--namespace-url", namespaceURL,