aboutsummaryrefslogtreecommitdiff
path: root/bin/spark-submit
diff options
context:
space:
mode:
Diffstat (limited to 'bin/spark-submit')
-rwxr-xr-xbin/spark-submit10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/spark-submit b/bin/spark-submit
index 498d0b27ba..b2a1dca721 100755
--- a/bin/spark-submit
+++ b/bin/spark-submit
@@ -21,15 +21,15 @@ export SPARK_HOME="$(cd `dirname $0`/..; pwd)"
ORIG_ARGS=$@
while (($#)); do
- if [ $1 = "--deploy-mode" ]; then
+ if [ "$1" = "--deploy-mode" ]; then
DEPLOY_MODE=$2
- elif [ $1 = "--driver-memory" ]; then
+ elif [ "$1" = "--driver-memory" ]; then
DRIVER_MEMORY=$2
- elif [ $1 = "--driver-library-path" ]; then
+ elif [ "$1" = "--driver-library-path" ]; then
export _SPARK_LIBRARY_PATH=$2
- elif [ $1 = "--driver-class-path" ]; then
+ elif [ "$1" = "--driver-class-path" ]; then
export SPARK_CLASSPATH="$SPARK_CLASSPATH:$2"
- elif [ $1 = "--driver-java-options" ]; then
+ elif [ "$1" = "--driver-java-options" ]; then
export SPARK_JAVA_OPTS="$SPARK_JAVA_OPTS $2"
fi
shift