Skip to content

Commit c102d64

Browse files
Tobias Kaymakclaude
andcommitted
build: remove spark.driver.host workaround from Spark 4 build
The hostname binding hack is no longer needed now that the local machine resolves its hostname to 127.0.0.1 via /etc/hosts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bb9be66 commit c102d64

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

runners/spark/4/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ project.ext {
2929
// Load the main build script which contains all build logic.
3030
apply from: "$basePath/spark_runner.gradle"
3131

32-
// Force Spark to bind to 127.0.0.1 so tests pass on machines where the hostname
33-
// doesn't resolve to a bindable address (e.g. mac.lan in macOS VPN environments).
3432
// Spark 4 always requires Java 17, so unconditionally add the --add-opens flags
3533
// required by Kryo and other libraries that use reflection on JDK internals.
3634
test {
37-
systemProperty "spark.driver.host", "127.0.0.1"
38-
systemProperty "spark.driver.bindAddress", "127.0.0.1"
3935
jvmArgs "--add-opens=java.base/sun.nio.ch=ALL-UNNAMED",
4036
"--add-opens=java.base/java.nio=ALL-UNNAMED",
4137
"--add-opens=java.base/java.util=ALL-UNNAMED",

0 commit comments

Comments
 (0)