diff options
author | Denny <dennybritz@gmail.com> | 2012-08-02 15:59:39 -0700 |
---|---|---|
committer | Denny <dennybritz@gmail.com> | 2012-08-02 15:59:39 -0700 |
commit | 53008c2d8a8b28f4204eaafa89f0e8087dc11466 (patch) | |
tree | 1f1ee1568a80a0e42043cc0b130753dd791fa670 /conf/spark-env.sh.template | |
parent | aaed039e36b6b29b59e650ef075f66a6e4162449 (diff) | |
download | spark-53008c2d8a8b28f4204eaafa89f0e8087dc11466.tar.gz spark-53008c2d8a8b28f4204eaafa89f0e8087dc11466.tar.bz2 spark-53008c2d8a8b28f4204eaafa89f0e8087dc11466.zip |
Settings variables and bugfix for stop script.
Diffstat (limited to 'conf/spark-env.sh.template')
-rwxr-xr-x | conf/spark-env.sh.template | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/conf/spark-env.sh.template b/conf/spark-env.sh.template index c09af42717..64eacce8a2 100755 --- a/conf/spark-env.sh.template +++ b/conf/spark-env.sh.template @@ -9,5 +9,13 @@ # - SPARK_MEM, to change the amount of memory used per node (this should # be in the same format as the JVM's -Xmx option, e.g. 300m or 1g). # - SPARK_LIBRARY_PATH, to add extra search paths for native libraries. -# - SPARK_MASTER_PORT, to start the spark master on a different port (standalone mode only) +# Settings used by the scripts in the bin/ directory, apply to standalone mode only. +# Note that the same worker settings apply to all of the workers. +# - SPARK_MASTER_IP, to bind the master to a different ip address, for example a public one (Default: local ip address) +# - SPARK_MASTER_PORT, to start the spark master on a different port (Default: 7077) +# - SPARK_MASTER_WEBUI_PORT, to specify a different port for the Master WebUI (Default: 8080) +# - SPARK_WORKER_PORT, to start the spark worker on a specific port (Default: random) +# - SPARK_WORKER_CORES, to specify the number of cores to use (Default: all available cores) +# - SPARK_WORKER_MEMORY, to specify how much memory to use, e.g. 1000M, 2G (Default: MAX(Available - 1024MB, 512MB)) +# - SPARK_WORKER_WEBUI_PORT, to specify a different port for the Worker WebUI (Default: 8081)
\ No newline at end of file |