aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMirrorZ <chandrika3437@gmail.com>2017-04-11 10:34:39 +0100
committerSean Owen <sowen@cloudera.com>2017-04-11 10:34:39 +0100
commitd11ef3d77ec2136d6b28bd69f5dd2cc0a22e4717 (patch)
tree6ef52c2d018def8f4fbb22bf6bf096e6b8ddb41c /docs
parent0d2b796427a59d3e9967b62618be301307f29162 (diff)
downloadspark-d11ef3d77ec2136d6b28bd69f5dd2cc0a22e4717.tar.gz
spark-d11ef3d77ec2136d6b28bd69f5dd2cc0a22e4717.tar.bz2
spark-d11ef3d77ec2136d6b28bd69f5dd2cc0a22e4717.zip
Document Master URL format in high availability set up
## What changes were proposed in this pull request? Add documentation for adding master url in multi host, port format for standalone cluster with high availability with zookeeper. Referring documentation [Standby Masters with ZooKeeper](http://spark.apache.org/docs/latest/spark-standalone.html#standby-masters-with-zookeeper) ## How was this patch tested? Documenting the functionality already present. Author: MirrorZ <chandrika3437@gmail.com> Closes #17584 from MirrorZ/master.
Diffstat (limited to 'docs')
-rw-r--r--docs/submitting-applications.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/submitting-applications.md b/docs/submitting-applications.md
index d23dbcf10d..866d6e5275 100644
--- a/docs/submitting-applications.md
+++ b/docs/submitting-applications.md
@@ -143,6 +143,9 @@ The master URL passed to Spark can be in one of the following formats:
<tr><td> <code>spark://HOST:PORT</code> </td><td> Connect to the given <a href="spark-standalone.html">Spark standalone
cluster</a> master. The port must be whichever one your master is configured to use, which is 7077 by default.
</td></tr>
+<tr><td> <code>spark://HOST1:PORT1,HOST2:PORT2</code> </td><td> Connect to the given <a href="spark-standalone.html#standby-masters-with-zookeeper">Spark standalone
+ cluster with standby masters with Zookeeper</a>. The list must have all the master hosts in the high availability cluster set up with Zookeeper. The port must be whichever each master is configured to use, which is 7077 by default.
+</td></tr>
<tr><td> <code>mesos://HOST:PORT</code> </td><td> Connect to the given <a href="running-on-mesos.html">Mesos</a> cluster.
The port must be whichever one your is configured to use, which is 5050 by default.
Or, for a Mesos cluster using ZooKeeper, use <code>mesos://zk://...</code>.