ivoson commented on code in PR #52335:
URL: https://github.com/apache/spark/pull/52335#discussion_r2354470819


##########
core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala:
##########
@@ -1385,7 +1386,13 @@ private[spark] class DAGScheduler(
     logInfo(log"Final stage: ${MDC(STAGE, finalStage)} " +
       log"(${MDC(STAGE_NAME, finalStage.name)})")
     logInfo(log"Parents of final stage: ${MDC(STAGES, finalStage.parents)}")
-    logInfo(log"Missing parents: ${MDC(MISSING_PARENT_STAGES, 
getMissingParentStages(finalStage))}")
+    try {
+      val missingParents = getMissingParentStages(finalStage)
+      logInfo(log"Missing parents: ${MDC(MISSING_PARENT_STAGES, 
missingParents)}")
+    } catch {
+      case e: RpcTimeoutException =>
+        logWarning("Getting missing parent stages failed due to rpc timeout. 
Ignoring.", e)

Review Comment:
   This is only for logging, actually can be removed.



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