Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/19509#discussion_r145484282
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala
---
@@ -347,6 +347,10 @@ package object config {
.timeConf(TimeUnit.MILLISECONDS)
.createWithDefault(Long.MaxValue)
+ private[spark] val KERBEROS_RELOGIN_PERIOD =
ConfigBuilder("spark.yarn.kerberos.relogin.period")
+ .timeConf(TimeUnit.SECONDS)
+ .createWithDefaultString("1m")
--- End diff --
The call to `checkTGTAndReloginFromKeytab` is a no-op if the TGT is still
valid, so it's ok to call it often.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]