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

    https://github.com/apache/spark/pull/22071#discussion_r209464703
  
    --- Diff: 
resource-managers/mesos/src/main/scala/org/apache/spark/deploy/mesos/MesosClusterDispatcher.scala
 ---
    @@ -51,6 +51,13 @@ private[mesos] class MesosClusterDispatcher(
         conf: SparkConf)
       extends Logging {
     
    +  {
    +    val authKey = SecurityManager.SPARK_AUTH_SECRET_CONF
    --- End diff --
    
    I think it might be better to place this in the MesosRestServer code, since 
it's not really about the framework (MesosClusterDispatcher) but the RestServer 
receiving requests. 


---

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

Reply via email to