LuciferYang commented on a change in pull request #34749:
URL: https://github.com/apache/spark/pull/34749#discussion_r758918215



##########
File path: core/src/main/scala/org/apache/spark/status/AppStatusStore.scala
##########
@@ -89,7 +89,44 @@ private[spark] class AppStatusStore(
     } else {
       base
     }
-    filtered.asScala.map(_.info).filter(_.id != 
FALLBACK_BLOCK_MANAGER_ID.executorId).toSeq
+    filtered.asScala.map(_.info)
+      .filter(_.id != FALLBACK_BLOCK_MANAGER_ID.executorId)
+      .map(replaceExec).toSeq
+  }
+
+  def replaceExec(origin: v1.ExecutorSummary): v1.ExecutorSummary = {

Review comment:
       Do we need to add a new public API? and we should add some comments
   
   
   
   




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