kevin85421 commented on code in PR #37411:
URL: https://github.com/apache/spark/pull/37411#discussion_r943127905


##########
core/src/main/scala/org/apache/spark/HeartbeatReceiver.scala:
##########
@@ -130,8 +170,11 @@ private[spark] class HeartbeatReceiver(sc: SparkContext, 
clock: Clock)
     case heartbeat @ Heartbeat(executorId, accumUpdates, blockManagerId, 
executorUpdates) =>
       var reregisterBlockManager = !sc.isStopped
       if (scheduler != null) {
-        if (executorLastSeen.contains(executorId)) {
+        val isStandalone = 
sc.schedulerBackend.isInstanceOf[StandaloneSchedulerBackend]

Review Comment:
   Updated. 
https://github.com/apache/spark/pull/37411/commits/41c6bc5e062a38a068f506deacc5ce2db59a356e



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