Skip to content

Commit e788edf

Browse files
committed
Changes based on Aaron's feedback
1 parent f508146 commit e788edf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/spark-submit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ while (($#)); do
3535
shift
3636
done
3737

38-
if [ ! -z $DRIVER_MEMORY ] && [ ! "$DEPLOY_MODE" == "cluster" ]; then
38+
DEPLOY_MODE=${DEPLOY_MODE:-"client"}
39+
40+
if [ ! -z $DRIVER_MEMORY ] && [ ! $DEPLOY_MODE == "cluster" ]; then
3941
export SPARK_DRIVER_MEMORY=$DRIVER_MEMORY
4042
fi
4143

0 commit comments

Comments
 (0)