aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOlivier Grisel <olivier.grisel@ensta.org>2011-06-23 02:27:14 +0200
committerOlivier Grisel <olivier.grisel@ensta.org>2011-06-23 02:27:14 +0200
commit5b9e0a126d67024ff61645246191094b280f2b6b (patch)
tree52c44574223001623462da88e27121d6fd76df3f /README.md
parent236bcd0d9b41987b771500b0643e1b73a87a3ca4 (diff)
downloadspark-5b9e0a126d67024ff61645246191094b280f2b6b.tar.gz
spark-5b9e0a126d67024ff61645246191094b280f2b6b.tar.bz2
spark-5b9e0a126d67024ff61645246191094b280f2b6b.zip
format
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1cef2365b1..7db64ae028 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ To build Spark and its example programs, run:
sbt/sbt update compile
-To run Spark, you will need to have Scala's bin in your $PATH, or you
+To run Spark, you will need to have Scala's bin in your `PATH`, or you
will need to set the `SCALA_HOME` environment variable to point to where
you've installed Scala. Scala must be accessible through one of these
methods on Mesos slave nodes as well as on the master.
@@ -48,11 +48,15 @@ In `java-opts`, you can add flags to be passed to the JVM when running Spark.
In `spark-env.sh`, you can set any environment variables you wish to be available
when running Spark programs, such as `PATH`, `SCALA_HOME`, etc. There are also
several Spark-specific variables you can set:
+
- `SPARK_CLASSPATH`: Extra entries to be added to the classpath, separated by ":".
+
- `SPARK_MEM`: Memory for Spark to use, in the format used by java's `-Xmx`
option (for example, `-Xmx200m` meams 200 MB, `-Xmx1g` means 1 GB, etc).
+
- `SPARK_LIBRARY_PATH`: Extra entries to add to `java.library.path` for locating
shared libraries.
+
- `SPARK_JAVA_OPTS`: Extra options to pass to JVM.
Note that `spark-env.sh` must be a shell script (it must be executable and start