diff --git a/3.5.0/scala2.12-java11-ubuntu/entrypoint.sh b/3.5.0/scala2.12-java11-ubuntu/entrypoint.sh index 2e3d2a8..46dd357 100755 --- a/3.5.0/scala2.12-java11-ubuntu/entrypoint.sh +++ b/3.5.0/scala2.12-java11-ubuntu/entrypoint.sh @@ -90,6 +90,7 @@ case "$1" in CMD=( "$SPARK_HOME/bin/spark-submit" --conf "spark.driver.bindAddress=$SPARK_DRIVER_BIND_ADDRESS" + --conf "spark.executorEnv.SPARK_DRIVER_POD_IP=$SPARK_DRIVER_BIND_ADDRESS" --deploy-mode client "$@" ) diff --git a/entrypoint.sh.template b/entrypoint.sh.template index 2e3d2a8..46dd357 100644 --- a/entrypoint.sh.template +++ b/entrypoint.sh.template @@ -90,6 +90,7 @@ case "$1" in CMD=( "$SPARK_HOME/bin/spark-submit" --conf "spark.driver.bindAddress=$SPARK_DRIVER_BIND_ADDRESS" + --conf "spark.executorEnv.SPARK_DRIVER_POD_IP=$SPARK_DRIVER_BIND_ADDRESS" --deploy-mode client "$@" )