panbingkun commented on code in PR #45890:
URL: https://github.com/apache/spark/pull/45890#discussion_r1553639609


##########
core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala:
##########
@@ -794,8 +796,10 @@ private[deploy] class Worker(
           case Failure(t) =>
             val failures = executorStateSyncFailureAttempts.getOrElse(fullId, 
0) + 1
             if (failures < executorStateSyncMaxAttempts) {
-              logError(s"Failed to send $newState to Master $masterRef, " +
-                s"will retry ($failures/$executorStateSyncMaxAttempts).", t)
+              logError(log"Failed to send ${MDC(EXECUTOR_STATE_CHANGED, 
newState)}" +

Review Comment:
   I'm not sure if `EXECUTOR_STATE_CHANGE` or `EXECUTOR_STATE` is better



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

Reply via email to