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

    https://github.com/apache/spark/pull/19272#discussion_r148982457
  
    --- Diff: 
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackend.scala
 ---
    @@ -58,8 +62,9 @@ private[spark] class MesosCoarseGrainedSchedulerBackend(
       extends CoarseGrainedSchedulerBackend(scheduler, sc.env.rpcEnv)
         with org.apache.mesos.Scheduler with MesosSchedulerUtils {
     
    -  override def hadoopDelegationTokenManager: 
Option[HadoopDelegationTokenManager] =
    -    Some(new HadoopDelegationTokenManager(sc.conf, sc.hadoopConfiguration))
    +  private lazy val hadoopCredentialRenewer: MesosCredentialRenewer =
    --- End diff --
    
    For Mesos the credential renewer contains the tokens, the renewal time, and 
all logic to renew the tokens. Should never be evaluated (and tokens never 
initialized) if `UserGroupInformation.isSecurityEnabled` evaluates to `false`


---

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

Reply via email to