File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4141
4242if [ -n " $SPARK_MEM " ]; then
4343 echo -e " Warning: SPARK_MEM is deprecated, please use a more specific config option" 1>&2
44- echo -e " (e.g., spark.executor.memory or SPARK_DRIVER_MEMORY )." 1>&2
44+ echo -e " (e.g., spark.executor.memory or spark.driver.memory )." 1>&2
4545fi
4646
4747# Use SPARK_MEM or 512m as the default memory, to be overridden by specific options
@@ -168,7 +168,7 @@ if [ -n "$SPARK_SUBMIT_BOOTSTRAP_DRIVER" ]; then
168168 export JAVA_OPTS
169169 export OUR_JAVA_MEM
170170 export SPARK_CLASS=1
171- shift # Ignore main class and use our own
171+ shift # Ignore main class (org.apache.spark.deploy.SparkSubmit) and use our own
172172 exec " $RUNNER " org.apache.spark.deploy.SparkSubmitDriverBootstrapper " $@ "
173173else
174174 # Note: The format of this command is closely echoed in SparkSubmitDriverBootstrapper.scala
You can’t perform that action at this time.
0 commit comments