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

    https://github.com/apache/spark/pull/20167#discussion_r162997172
  
    --- Diff: docs/running-on-mesos.md ---
    @@ -427,15 +437,30 @@ See the [configuration page](configuration.html) for 
information on Spark config
       <td><code>spark.mesos.principal</code></td>
       <td>(none)</td>
       <td>
    -    Set the principal with which Spark framework will use to authenticate 
with Mesos.
    +    Set the principal with which Spark framework will use to authenticate 
with Mesos.  You can also specify this via the environment variable 
`SPARK_MESOS_PRINCIPAL`
    +  </td>
    +</tr>
    +<tr>
    +  <td><code>spark.mesos.principal.file</code></td>
    +  <td>(none)</td>
    +  <td>
    +    Set the file containing the principal with which Spark framework will 
use to authenticate with Mesos.  Allows specifying the principal indirectly in 
more security conscious deployments.  The file must be readable by the user 
launching the job.  You can also specify this via the environment variable 
`SPARK_MESOS_PRINCIPAL_FILE`
       </td>
     </tr>
     <tr>
       <td><code>spark.mesos.secret</code></td>
       <td>(none)</td>
       <td>
         Set the secret with which Spark framework will use to authenticate 
with Mesos. Used, for example, when
    -    authenticating with the registry.
    +    authenticating with the registry.  You can also specify this via the 
environment variable `SPARK_MESOS_SECRET`
    +  </td>
    +</tr>
    +<tr>
    +  <td><code>spark.mesos.secret.file</code></td>
    +  <td>(none)</td>
    +  <td>
    --- End diff --
    
    Maybe comment on the format of the secret? I.e. we assume this is a 
plaintext secret, not a binary one? Is that true? 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to