warrenzhu25 commented on code in PR #38852:
URL: https://github.com/apache/spark/pull/38852#discussion_r1036663332


##########
core/src/main/scala/org/apache/spark/executor/CoarseGrainedExecutorBackend.scala:
##########
@@ -352,8 +353,20 @@ private[spark] class CoarseGrainedExecutorBackend(
                 // We can only trust allBlocksMigrated boolean value if there 
were no tasks running
                 // since the start of computing it.
                 if (allBlocksMigrated && (migrationTime > 
lastTaskRunningTime)) {
-                  logInfo("No running tasks, all blocks migrated, stopping.")
-                  exitExecutor(0, ExecutorLossMessage.decommissionFinished, 
notifyDriver = true)
+                  val pendingFetches = 
env.blockManager.getNumPendingBlockFetches()

Review Comment:
   No, these pending fetches means other executors are fetching from this 
executor.



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