Skip to content

Commit 5c265cc

Browse files
ash211Andrew Or
authored and
Andrew Or
committed
SPARK-3663 Document SPARK_LOG_DIR and SPARK_PID_DIR
These descriptions are from the header of spark-daemon.sh Author: Andrew Ash <[email protected]> Closes apache#2518 from ash211/SPARK-3663 and squashes the following commits: 058b257 [Andrew Ash] Complete hanging clause in SPARK_PID_DIR description a17cb4b [Andrew Ash] Update docs for default locations per SPARK-4110 af89096 [Andrew Ash] SPARK-3663 Document SPARK_LOG_DIR and SPARK_PID_DIR
1 parent 0c56a03 commit 5c265cc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

conf/spark-env.sh.template

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# - SPARK_YARN_DIST_FILES, Comma separated list of files to be distributed with the job.
2929
# - SPARK_YARN_DIST_ARCHIVES, Comma separated list of archives to be distributed with the job.
3030

31-
# Options for the daemons used in the standalone deploy mode:
31+
# Options for the daemons used in the standalone deploy mode
3232
# - SPARK_MASTER_IP, to bind the master to a different IP address or hostname
3333
# - SPARK_MASTER_PORT / SPARK_MASTER_WEBUI_PORT, to use non-default ports for the master
3434
# - SPARK_MASTER_OPTS, to set config properties only for the master (e.g. "-Dx=y")
@@ -41,3 +41,10 @@
4141
# - SPARK_HISTORY_OPTS, to set config properties only for the history server (e.g. "-Dx=y")
4242
# - 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
44+
45+
# Generic options for the daemons used in the standalone deploy mode
46+
# - SPARK_CONF_DIR Alternate conf dir. (Default: ${SPARK_HOME}/conf)
47+
# - SPARK_LOG_DIR Where log files are stored. (Default: ${SPARK_HOME}/logs)
48+
# - SPARK_PID_DIR Where the pid file is stored. (Default: /tmp)
49+
# - SPARK_IDENT_STRING A string representing this instance of spark. (Default: $USER)
50+
# - SPARK_NICENESS The scheduling priority for daemons. (Default: 0)

0 commit comments

Comments
 (0)