aboutsummaryrefslogtreecommitdiff
path: root/docs/spark-standalone.md
diff options
context:
space:
mode:
authorEvan Chan <ev@ooyala.com>2013-09-06 13:53:00 -0700
committerEvan Chan <ev@ooyala.com>2013-09-06 13:53:00 -0700
commit76d5d2d3c5881782100571fa2976017fa8df4f57 (patch)
tree08b1c99244e494d521c7d02f3a6f072385fd36f4 /docs/spark-standalone.md
parent1e15feb5a314e7180328b9208054966e040eb2ad (diff)
downloadspark-76d5d2d3c5881782100571fa2976017fa8df4f57.tar.gz
spark-76d5d2d3c5881782100571fa2976017fa8df4f57.tar.bz2
spark-76d5d2d3c5881782100571fa2976017fa8df4f57.zip
Add notes about starting spark-shell
Diffstat (limited to 'docs/spark-standalone.md')
-rw-r--r--docs/spark-standalone.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/spark-standalone.md b/docs/spark-standalone.md
index 994a96f2c9..7d4bb1d8be 100644
--- a/docs/spark-standalone.md
+++ b/docs/spark-standalone.md
@@ -22,7 +22,7 @@ Similarly, you can start one or more workers and connect them to the master via:
Once you have started a worker, look at the master's web UI ([http://localhost:8080](http://localhost:8080) by default).
You should see the new node listed there, along with its number of CPUs and memory (minus one gigabyte left for the OS).
-Finally, the following configuration options can be passed to the master and worker:
+Finally, the following configuration options can be passed to the master and worker:
<table class="table">
<tr><th style="width:21%">Argument</th><th>Meaning</th></tr>
@@ -134,6 +134,10 @@ To run an interactive Spark shell against the cluster, run the following command
MASTER=spark://IP:PORT ./spark-shell
+Note that if you are running spark-shell from one of the spark cluster machines, the `spark-shell` script will
+automatically set MASTER from the `SPARK_MASTER_IP` and `SPARK_MASTER_PORT` variables in `conf/spark-env.sh`.
+
+You can also pass an option `-c <numCores>` to control the number of cores that spark-shell uses on the cluster.
# Job Scheduling