gengliangwang commented on code in PR #46362: URL: https://github.com/apache/spark/pull/46362#discussion_r1591645132
########## core/src/main/scala/org/apache/spark/BarrierTaskContext.scala: ########## @@ -56,19 +57,27 @@ class BarrierTaskContext private[spark] ( // with the driver side epoch. private var barrierEpoch = 0 + private def logProgressInfo(msg: MessageWithContext, startTime: Option[Long]): Unit = { + val waitMsg = startTime.fold(log"")(st => log", waited " + + log"for ${MDC(TOTAL_TIME, System.currentTimeMillis() - st)} ms,") + logInfo(log"Task ${MDC(TASK_ATTEMPT_ID, taskAttemptId())}" + + log" from Stage ${MDC(STAGE_ID, stageId())}" + Review Comment: nit: two spaces indent -- 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