gengliangwang commented on code in PR #45834:
URL: https://github.com/apache/spark/pull/45834#discussion_r1635844869
##########
core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala:
##########
@@ -1033,8 +1037,8 @@ private[spark] class TaskSetManager(
info.host, info.executorId, index, failureReason))
numFailures(index) += 1
if (numFailures(index) >= maxTaskFailures) {
- logError("Task %d in stage %s failed %d times; aborting job".format(
- index, taskSet.id, maxTaskFailures))
+ logError(log"Task ${MDC(TASK_ID, index)} in stage ${MDC(STAGE_ID,
taskSet.id)} failed " +
Review Comment:
@cloud-fan I created https://github.com/apache/spark/pull/46951
@pan3793 what do you mean by the same?
--
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]