Skip to content

Commit 430b98f

Browse files
committed
Feedback from Aaron
1 parent e788edf commit 430b98f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/spark-submit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ done
3737

3838
DEPLOY_MODE=${DEPLOY_MODE:-"client"}
3939

40-
if [ ! -z $DRIVER_MEMORY ] && [ ! $DEPLOY_MODE == "cluster" ]; then
40+
if [ -n "$DRIVER_MEMORY" ] && [ $DEPLOY_MODE == "client" ]; then
4141
export SPARK_DRIVER_MEMORY=$DRIVER_MEMORY
4242
fi
4343

0 commit comments

Comments
 (0)