zhangshuyan0 commented on code in PR #47800: URL: https://github.com/apache/spark/pull/47800#discussion_r1721429955
########## core/src/main/scala/org/apache/spark/deploy/security/HadoopFSDelegationTokenProvider.scala: ########## @@ -150,6 +150,7 @@ private[deploy] class HadoopFSDelegationTokenProvider val interval = newExpiration - getIssueDate(tokenKind, identifier) logInfo(log"Renewal interval is ${MDC(TOTAL_TIME, interval)} for" + log" token ${MDC(TOKEN_KIND, tokenKind)}") + token.cancel(hadoopConf) Review Comment: Thanks for your review! These tokens have not actually been used. The tokens that are truly distributed to each executor are obtained as Line57: https://github.com/apache/spark/blob/dd259b0b27841e6dd7c07f8ca3cc05d275863dd5/core/src/main/scala/org/apache/spark/deploy/security/HadoopFSDelegationTokenProvider.scala#L57-L64 -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org