Skip to content

Commit b72d183

Browse files
committed
Review feedback for spark env file
1 parent 46555c1 commit b72d183

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

conf/spark-env.sh.template

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# Options read by executors and drivers running inside the cluster
1313
# - SPARK_LOCAL_IP, to set the IP address Spark binds to on this node
1414
# - SPARK_PUBLIC_DNS, to set the public DNS name of the driver program
15+
# - SPARK_CLASSPATH, default classpath entries to append
1516
# - SPARK_LOCAL_DIRS, shuffle directories to use on this node
1617
# - MESOS_NATIVE_LIBRARY, to point to your libmesos.so if you use Mesos
17-
# - SPARK_CLASSPATH, default classpath entries to append
1818

1919
# Options read in YARN client mode
2020
# - SPARK_YARN_APP_JAR, Path to your application’s JAR file (required)
@@ -30,10 +30,13 @@
3030
# Options for the daemons used in the standalone deploy mode:
3131
# - SPARK_MASTER_IP, to bind the master to a different IP address or hostname
3232
# - SPARK_MASTER_PORT / SPARK_MASTER_WEBUI_PORT, to use non-default ports
33-
# - SPARK_MASTER_OPTS, to set config properties at the master (e.g "-Dx=y")
33+
# - SPARK_MASTER_OPTS, to set config properties only for the master (e.g. "-Dx=y")
3434
# - SPARK_WORKER_CORES, to set the number of cores to use on this machine
35-
# - SPARK_WORKER_MEMORY, to set how much memory to use (e.g. 1000m, 2g)
35+
# - SPARK_WORKER_MEMORY, to set how much total memory to workers have to give executors (e.g. 1000m, 2g)
3636
# - SPARK_WORKER_PORT / SPARK_WORKER_WEBUI_PORT
3737
# - SPARK_WORKER_INSTANCES, to set the number of worker processes per node
3838
# - SPARK_WORKER_DIR, to set the working directory of worker processes
39-
# - SPARK_PUBLIC_DNS, to set the public dns name of the master
39+
# - SPARK_WORKER_OPTS, to set config properties only for the worker (e.g. "-Dx=y")
40+
# - SPARK_HISTORY_OPTS, to set config properties only for the history server (e.g. "-Dx=y")
41+
# - SPARK_DAEMON_OPTS, to set config properties for all daemons (e.g. "-Dx=y")
42+
# - SPARK_PUBLIC_DNS, to set the public dns name of the master or workers

0 commit comments

Comments
 (0)