zeotuan commented on code in PR #46494:
URL: https://github.com/apache/spark/pull/46494#discussion_r1599968517
##########
core/src/main/scala/org/apache/spark/deploy/security/HadoopFSDelegationTokenProvider.scala:
##########
@@ -117,10 +117,11 @@ private[deploy] class HadoopFSDelegationTokenProvider
filesystems.foreach { fs =>
if (fsToExclude.contains(fs.getUri.getHost)) {
// YARN RM skips renewing token with empty renewer
- logInfo(s"getting token for: $fs with empty renewer to skip renewal")
+ logInfo(log"getting token for: ${MDC(FILE_SYSTEM, fs)} with empty
renewer to skip renewal")
Utils.tryLogNonFatalError { fs.addDelegationTokens("", creds) }
} else {
- logInfo(s"getting token for: $fs with renewer $renewer")
+ logInfo(log"getting token for: ${MDC(FILE_SYSTEM, fs)} with" +
+ log" renewer ${MDC(TOKEN_RE_NEWER, renewer)}")
Review Comment:
Updated
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]