Ngone51 commented on a change in pull request #31876:
URL: https://github.com/apache/spark/pull/31876#discussion_r618109686
##########
File path: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
##########
@@ -1863,26 +1870,28 @@ private[spark] class DAGScheduler(
// TODO: mark the executor as failed only if there were lots of
fetch failures on it
if (bmAddress != null) {
val externalShuffleServiceEnabled =
env.blockManager.externalShuffleServiceEnabled
- val isHostDecommissioned = taskScheduler
- .getExecutorDecommissionState(bmAddress.executorId)
- .exists(_.workerHost.isDefined)
+ val isHostDecommissioned = execIdOpt.exists { execId =>
+ taskScheduler
+ .getExecutorDecommissionState(execId)
+ .exists(_.workerHost.isDefined)
+ }
- // Shuffle output of all executors on host `bmAddress.host` may be
lost if:
+ // Shuffle output of all executors on host `bmId.host` may be lost
if:
Review comment:
Ah..good catch! The original change has been reverted, we should revert
the comment as well.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]