We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e788edf commit 430b98fCopy full SHA for 430b98f
1 file changed
bin/spark-submit
@@ -37,7 +37,7 @@ done
37
38
DEPLOY_MODE=${DEPLOY_MODE:-"client"}
39
40
-if [ ! -z $DRIVER_MEMORY ] && [ ! $DEPLOY_MODE == "cluster" ]; then
+if [ -n "$DRIVER_MEMORY" ] && [ $DEPLOY_MODE == "client" ]; then
41
export SPARK_DRIVER_MEMORY=$DRIVER_MEMORY
42
fi
43
0 commit comments