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

    https://github.com/apache/spark/pull/7394#discussion_r34620585
  
    --- Diff: 
yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala
 ---
    @@ -61,6 +60,9 @@ private[spark] class YarnClientSchedulerBackend(
         // to the executors
         super.start()
     
    +    if (conf.contains("spark.yarn.credentials.file")) {
    +      YarnSparkHadoopUtil.get.startExecutorDelegationTokenRenewer(conf)
    --- End diff --
    
    This looks a little out of place to the uninitiated, since this code is 
running in the driver. IIUC, what's happening in client mode is that the AM is 
still doing the relogin / token renewal, and now the driver is just monitoring 
HDFS, like other executors, to get the updated tokens.
    
    Is that correct? Could you add a comment explaining that if so?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to