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

    https://github.com/apache/spark/pull/7394#discussion_r34819948
  
    --- Diff: 
yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala
 ---
    @@ -61,6 +60,12 @@ private[spark] class YarnClientSchedulerBackend(
         // to the executors
         super.start()
     
    +    // SPARK-8851: In yarn-client mode, the AM still does the credentials 
refresh. The driver
    +    // reads the credentials from HDFS, just like the executors and 
updates its own credentials
    +    // cache.
    +    if (conf.contains("spark.yarn.credentials.file")) {
    +      YarnSparkHadoopUtil.get.startExecutorDelegationTokenRenewer(conf)
    +    }
         waitForApplication()
    --- End diff --
    
    Yeah if the app can't get started before expiry interval then they have it 
to short and I would expect would be having a lot of issues.


---
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