gengliangwang commented on code in PR #46309:
URL: https://github.com/apache/spark/pull/46309#discussion_r1585623380


##########
core/src/main/scala/org/apache/spark/storage/BlockManager.scala:
##########
@@ -1214,14 +1214,16 @@ private[spark] class BlockManager(
             // Give up trying anymore locations. Either we've tried all of the 
original locations,
             // or we've refreshed the list of locations from the master, and 
have still
             // hit failures after trying locations from the refreshed list.
-            logWarning(s"Failed to fetch remote block $blockId " +
-              s"from [${locations.mkString(", ")}] after $totalFailureCount 
fetch failures. " +
-              s"Most recent failure cause:", e)
+            logWarning(log"Failed to fetch remote block ${MDC(BLOCK_ID, 
blockId)} " +
+              log"from [${MDC(BLOCK_MANAGER_ID, locations.mkString(", "))}] " +

Review Comment:
   BLOCK_MANAGER_IDS?



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