viirya commented on a change in pull request #35321:
URL: https://github.com/apache/spark/pull/35321#discussion_r792141426
##########
File path:
core/src/main/scala/org/apache/spark/scheduler/dynalloc/ExecutorMonitor.scala
##########
@@ -356,7 +356,8 @@ private[spark] class ExecutorMonitor(
if (removed != null) {
decrementExecResourceProfileCount(removed.resourceProfileId)
if (removed.decommissioning) {
- if (event.reason == ExecutorLossMessage.decommissionFinished) {
+ if (event.reason == ExecutorLossMessage.decommissionFinished ||
+ event.reason == ExecutorDecommission().message) {
Review comment:
If the removing is triggered by executor decommission, the even reason
equals to `ExecutorDecommission().message`, right?
--
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]