diff options
author | Ji Yan <jiyan@Jis-MacBook-Air.local> | 2017-04-16 14:34:12 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2017-04-16 14:34:12 +0100 |
commit | a888fed3099e84c2cf45e9419f684a3658ada19d (patch) | |
tree | dc81a64294ecb1aab84818c1532205ef91f07991 /docs/running-on-mesos.md | |
parent | e090f3c0ceebdf341536a1c0c70c80afddf2ee2a (diff) | |
download | spark-a888fed3099e84c2cf45e9419f684a3658ada19d.tar.gz spark-a888fed3099e84c2cf45e9419f684a3658ada19d.tar.bz2 spark-a888fed3099e84c2cf45e9419f684a3658ada19d.zip |
[SPARK-19740][MESOS] Add support in Spark to pass arbitrary parameters into docker when running on mesos with docker containerizer
## What changes were proposed in this pull request?
Allow passing in arbitrary parameters into docker when launching spark executors on mesos with docker containerizer tnachen
## How was this patch tested?
Manually built and tested with passed in parameter
Author: Ji Yan <jiyan@Jis-MacBook-Air.local>
Closes #17109 from yanji84/ji/allow_set_docker_user.
Diffstat (limited to 'docs/running-on-mesos.md')
-rw-r--r-- | docs/running-on-mesos.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/running-on-mesos.md b/docs/running-on-mesos.md index ef01cfe4b9..314a806edf 100644 --- a/docs/running-on-mesos.md +++ b/docs/running-on-mesos.md @@ -357,6 +357,16 @@ See the [configuration page](configuration.html) for information on Spark config </td> </tr> <tr> + <td><code>spark.mesos.executor.docker.parameters</code></td> + <td>(none)</td> + <td> + Set the list of custom parameters which will be passed into the <code>docker run</code> command when launching the Spark executor on Mesos using the docker containerizer. The format of this property is a comma-separated list of + key/value pairs. Example: + + <pre>key1=val1,key2=val2,key3=val3</pre> + </td> +</tr> +<tr> <td><code>spark.mesos.executor.docker.volumes</code></td> <td>(none)</td> <td> |