Github user tnachen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3074#discussion_r20114359
  
    --- Diff: docs/configuration.md ---
    @@ -224,6 +224,43 @@ Apart from these, the following properties are also 
available, and may be useful
         <code>spark.executor.uri</code>.
       </td>
     </tr>
    +<tr>
    +  <td><code>spark.executor.docker.image</code></td>
    +  <td>(none)</td>
    +  <td>
    +    Set the docker image in which the Spark executors will run when using 
Mesos. The selected
    +    image must have Spark installed, as well as a compatible version of 
the Mesos library.
    +    The installed path of Spark in the image can be specified with 
<code>spark.mesos.executor.home</code>;
    +    the installed path of the Mesos library can be specified with 
<code>spark.executorEnv.MESOS_NATIVE_LIBRARY</code>.
    +    Mesos Docker support requires Mesos version 0.20.0 or later.
    +  </td>
    +</tr>
    +<tr>
    +  <td><code>spark.executor.docker.volumes</code></td>
    +  <td>(none)</td>
    +  <td>
    +    Set the list of volumes which will be mounted into the Docker image, 
which was set using
    +    <code>spark.executor.docker.image</code>. The format of this property 
is a comma-separated list of
    +    mappings following the form passed to <tt>docker run -v</tt>. That is 
they take the form:
    +
    +    <pre>[host_path:]container_path[:ro|:rw]</pre>
    +
    +    Mesos Docker volume support requires Mesos version 0.20.0 or later.
    +  </td>
    +</tr>
    +<tr>
    +  <td><code>spark.executor.docker.portmaps</code></td>
    +  <td>(none)</td>
    +  <td>
    +    Set the list of incoming ports exposed by the Docker image, which was 
set using
    +    <code>spark.executor.docker.image</code>. The format of this property 
is a comma-separated list of
    +    mappings which take the form:
    +
    +    <pre>host_port:container_port[:tcp|:udp]</pre>
    +
    +    Mesos Docker portmap support requires Mesos version 0.20.0 or later.
    --- End diff --
    
    Actually requires 0.20.1+


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to