gengliangwang commented on code in PR #45923:
URL: https://github.com/apache/spark/pull/45923#discussion_r1566429204
##########
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/ui/HiveThriftServer2Listener.scala:
##########
@@ -160,8 +163,9 @@ private[thriftserver] class HiveThriftServer2Listener(
case Some(sessionData) =>
sessionData.totalExecution += 1
updateLiveStore(sessionData)
- case None => logWarning(s"onOperationStart called with unknown session
id: ${e.sessionId}." +
- s"Regardless, the operation has been registered.")
+ case None => logWarning(
+ log"onOperationStart called with unknown session id:
${MDC(STATEMENT_ID, e.sessionId)}." +
Review Comment:
```suggestion
log"onOperationStart called with unknown session id:
${MDC(SESSION_ID, e.sessionId)}." +
```
--
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]