Skip to content

Commit bed4bdf

Browse files
committed
Change a few comments / messages (minor)
1 parent 24dba60 commit bed4bdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/spark-class

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fi
4141

4242
if [ -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
4545
fi
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 "$@"
173173
else
174174
# Note: The format of this command is closely echoed in SparkSubmitDriverBootstrapper.scala

0 commit comments

Comments
 (0)