From 3afede8a2a7ca18ac95e5d55e58496310ad4036c Mon Sep 17 00:00:00 2001 From: Stephan Preibisch Date: Sun, 30 Jun 2024 17:19:26 -0300 Subject: [PATCH] support localSparkBindAddress in Interest point detection --- .../bigstitcher/spark/SparkInterestPointDetection.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/preibisch/bigstitcher/spark/SparkInterestPointDetection.java b/src/main/java/net/preibisch/bigstitcher/spark/SparkInterestPointDetection.java index b38cac8..80802cb 100644 --- a/src/main/java/net/preibisch/bigstitcher/spark/SparkInterestPointDetection.java +++ b/src/main/java/net/preibisch/bigstitcher/spark/SparkInterestPointDetection.java @@ -303,6 +303,9 @@ public Void call() throws Exception final SparkConf conf = new SparkConf().setAppName("SparkInterestPointDetection"); + if ( localSparkBindAddress ) + conf.set("spark.driver.bindAddress", "127.0.0.1"); + final JavaSparkContext sc = new JavaSparkContext(conf); sc.setLogLevel("ERROR");