aboutsummaryrefslogtreecommitdiff
path: root/docs/running-on-mesos.md
diff options
context:
space:
mode:
authorTimothy Chen <tnachen@gmail.com>2015-07-16 19:36:45 -0700
committerAndrew Or <andrew@databricks.com>2015-07-16 19:37:15 -0700
commitd86bbb4e286f16f77ba125452b07827684eafeed (patch)
tree9b7cadb3740105d6eb6375d239e86bd2fcd08218 /docs/running-on-mesos.md
parent49351c7f597c67950cc65e5014a89fad31b9a6f7 (diff)
downloadspark-d86bbb4e286f16f77ba125452b07827684eafeed.tar.gz
spark-d86bbb4e286f16f77ba125452b07827684eafeed.tar.bz2
spark-d86bbb4e286f16f77ba125452b07827684eafeed.zip
[SPARK-6284] [MESOS] Add mesos role, principal and secret
Mesos supports framework authentication and role to be set per framework, which the role is used to identify the framework's role which impacts the sharing weight of resource allocation and optional authentication information to allow the framework to be connected to the master. Author: Timothy Chen <tnachen@gmail.com> Closes #4960 from tnachen/mesos_fw_auth and squashes the following commits: 0f9f03e [Timothy Chen] Fix review comments. 8f9488a [Timothy Chen] Fix rebase f7fc2a9 [Timothy Chen] Add mesos role, auth and secret.
Diffstat (limited to 'docs/running-on-mesos.md')
-rw-r--r--docs/running-on-mesos.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/running-on-mesos.md b/docs/running-on-mesos.md
index 1f915d8ea1..debdd2adf2 100644
--- a/docs/running-on-mesos.md
+++ b/docs/running-on-mesos.md
@@ -307,6 +307,28 @@ See the [configuration page](configuration.html) for information on Spark config
</td>
</tr>
<tr>
+ <td><code>spark.mesos.principal</code></td>
+ <td>Framework principal to authenticate to Mesos</td>
+ <td>
+ Set the principal with which Spark framework will use to authenticate with Mesos.
+ </td>
+</tr>
+<tr>
+ <td><code>spark.mesos.secret</code></td>
+ <td>Framework secret to authenticate to Mesos</td>
+ <td>
+ Set the secret with which Spark framework will use to authenticate with Mesos.
+ </td>
+</tr>
+<tr>
+ <td><code>spark.mesos.role</code></td>
+ <td>Role for the Spark framework</td>
+ <td>
+ Set the role of this Spark framework for Mesos. Roles are used in Mesos for reservations
+ and resource weight sharing.
+ </td>
+</tr>
+<tr>
<td><code>spark.mesos.constraints</code></td>
<td>Attribute based constraints to be matched against when accepting resource offers.</td>
<td>