aboutsummaryrefslogtreecommitdiff
path: root/conf/spark-env.sh.template
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2010-10-16 21:51:25 -0700
committerMatei Zaharia <matei@eecs.berkeley.edu>2010-10-16 21:51:25 -0700
commite5fb280ec82072fdd3373136a41f96c9536a1592 (patch)
tree5649dec7c04607212c76232719bde9ca680391f1 /conf/spark-env.sh.template
parent023ed194b465b1ada80be1ef0deea0da99ce109e (diff)
downloadspark-e5fb280ec82072fdd3373136a41f96c9536a1592.tar.gz
spark-e5fb280ec82072fdd3373136a41f96c9536a1592.tar.bz2
spark-e5fb280ec82072fdd3373136a41f96c9536a1592.zip
Changed the config files that were included in git to templates which
are used to create an initial copy of each config file if the user does not have one. This way, users won't accidentally commit their changes to config files to git.
Diffstat (limited to 'conf/spark-env.sh.template')
-rwxr-xr-xconf/spark-env.sh.template13
1 files changed, 13 insertions, 0 deletions
diff --git a/conf/spark-env.sh.template b/conf/spark-env.sh.template
new file mode 100755
index 0000000000..6852b23a34
--- /dev/null
+++ b/conf/spark-env.sh.template
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+# Set Spark environment variables for your site in this file. Some useful
+# variables to set are:
+# - MESOS_HOME, to point to your Mesos installation
+# - SCALA_HOME, to point to your Scala installation
+# - SPARK_CLASSPATH, to add elements to Spark's classpath
+# - SPARK_JAVA_OPTS, to add JVM options
+# - 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.
+
+