vanzin commented on a change in pull request #23525: [SPARK-26595][core] Allow
credential renewal based on kerberos ticket cache.
URL: https://github.com/apache/spark/pull/23525#discussion_r250321692
##########
File path:
core/src/main/scala/org/apache/spark/deploy/security/HadoopDelegationTokenManager.scala
##########
@@ -118,7 +127,7 @@ private[spark] class HadoopDelegationTokenManager(
def stop(): Unit = {
if (renewalExecutor != null) {
- renewalExecutor.shutdown()
+ renewalExecutor.shutdownNow()
Review comment:
`shutdown` doesn't stop the executor. Any schedule tasks will still be run.
So the executor might stay up for about a day if there's a renewal task
scheduled.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]