HyukjinKwon commented on code in PR #49699:
URL: https://github.com/apache/spark/pull/49699#discussion_r1938750560


##########
core/src/main/scala/org/apache/spark/executor/Executor.scala:
##########
@@ -504,8 +504,9 @@ private[spark] class Executor(
     @volatile var task: Task[Any] = _
 
     def kill(interruptThread: Boolean, reason: String): Unit = {
-      logInfo(log"Executor is trying to kill ${LogMDC(TASK_NAME, taskName)}," +
-        log" reason: ${LogMDC(REASON, reason)}")
+      logInfo(log"Executor is trying to kill ${LogMDC(TASK_NAME, taskName)}, " 
+
+        log"interruptThread=${LogMDC(INTERRUPT_THREAD, interruptThread)}, " +

Review Comment:
   ```suggestion
           log"interruptThread: ${LogMDC(INTERRUPT_THREAD, interruptThread)}, " 
+
   ```
   
   To be consistent.



-- 
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

Reply via email to