Skip to content

Commit 5ef24a0

Browse files
andrewor14pwendell
authored andcommitted
[SPARK-1780] Non-existent SPARK_DAEMON_OPTS is lurking around
What they really mean is SPARK_DAEMON_***JAVA***_OPTS Author: Andrew Or <[email protected]> Closes #751 from andrewor14/spark-daemon-opts and squashes the following commits: 70c41f9 [Andrew Or] SPARK_DAEMON_OPTS -> SPARK_DAEMON_JAVA_OPTS (cherry picked from commit ba96bb3) Signed-off-by: Patrick Wendell <[email protected]>
1 parent b52ac0e commit 5ef24a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conf/spark-env.sh.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@
3939
# - SPARK_WORKER_DIR, to set the working directory of worker processes
4040
# - SPARK_WORKER_OPTS, to set config properties only for the worker (e.g. "-Dx=y")
4141
# - SPARK_HISTORY_OPTS, to set config properties only for the history server (e.g. "-Dx=y")
42-
# - SPARK_DAEMON_OPTS, to set config properties for all daemons (e.g. "-Dx=y")
42+
# - SPARK_DAEMON_JAVA_OPTS, to set config properties for all daemons (e.g. "-Dx=y")
4343
# - SPARK_PUBLIC_DNS, to set the public dns name of the master or workers

core/src/main/scala/org/apache/spark/SparkConf.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
247247
| - ./spark-submit with conf/spark-defaults.conf to set defaults for an application
248248
| - ./spark-submit with --driver-java-options to set -X options for a driver
249249
| - spark.executor.extraJavaOptions to set -X options for executors
250-
| - SPARK_DAEMON_OPTS to set java options for standalone daemons (i.e. master, worker)
250+
| - SPARK_DAEMON_JAVA_OPTS to set java options for standalone daemons (master or worker)
251251
""".stripMargin
252252
logError(error)
253253

0 commit comments

Comments
 (0)