We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55100da commit 8bed767Copy full SHA for 8bed767
1 file changed
bin/spark-submit
@@ -18,7 +18,7 @@
18
#
19
20
export SPARK_HOME="$(cd `dirname $0`/..; pwd)"
21
-ORIG_ARGS=$@
+ORIG_ARGS=("$@")
22
23
while (($#)); do
24
if [ "$1" = "--deploy-mode" ]; then
@@ -39,5 +39,5 @@ if [ ! -z $DRIVER_MEMORY ] && [ ! -z $DEPLOY_MODE ] && [ $DEPLOY_MODE = "client"
39
export SPARK_MEM=$DRIVER_MEMORY
40
fi
41
42
-$SPARK_HOME/bin/spark-class org.apache.spark.deploy.SparkSubmit $ORIG_ARGS
+$SPARK_HOME/bin/spark-class org.apache.spark.deploy.SparkSubmit "${ORIG_ARGS[@]}"
43
0 commit comments