cloud-fan commented on code in PR #46951:
URL: https://github.com/apache/spark/pull/46951#discussion_r1635886006


##########
core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala:
##########
@@ -989,7 +989,7 @@ private[spark] class TaskSetManager(
         if (ef.className == 
classOf[TaskOutputFileAlreadyExistException].getName) {
           // If we can not write to output file in the task, there's no point 
in trying to
           // re-execute it.
-          logError(log"Task ${MDC(TASK_ID, info.id)} in stage ${MDC(STAGE_ID, 
taskSet.id)} " +
+          logError(log"Task ${MDC(TASK_INFO_ID, info.id)} in stage 
${MDC(STAGE_ID, taskSet.id)} " +
             log"(TID ${MDC(TID, tid)}) can not write to output file: " +

Review Comment:
   task info id is `def id: String = s"$index.$attemptNumber"`



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