gaborgsomogyi commented on a change in pull request #32009:
URL: https://github.com/apache/spark/pull/32009#discussion_r604772518
##########
File path:
core/src/main/scala/org/apache/spark/scheduler/local/LocalSchedulerBackend.scala
##########
@@ -178,4 +188,23 @@ private[spark] class LocalSchedulerBackend(
}
}
+ private def updateDelegationTokens(): Unit = {
+ if (UserGroupInformation.isSecurityEnabled()) {
+ val delegationTokenManager =
+ new HadoopDelegationTokenManager(conf,
scheduler.sc.hadoopConfiguration, localEndpoint)
+ val ugi = UserGroupInformation.getCurrentUser()
+ val tokens = if (delegationTokenManager.renewalEnabled) {
+ delegationTokenManager.start()
Review comment:
`delegationTokenManager` is never stopped.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]