You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "hujiahua (Jira)" <ji...@apache.org> on 2021/12/20 03:15:00 UTC
[jira] [Created] (SPARK-37688) ExecutorMonitor should ignore SparkListenerBlockUpdated event if executor was not active
hujiahua created SPARK-37688:
--------------------------------
Summary: ExecutorMonitor should ignore SparkListenerBlockUpdated event if executor was not active
Key: SPARK-37688
URL: https://issues.apache.org/jira/browse/SPARK-37688
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 3.1.2
Reporter: hujiahua
When a executor was not alive, and ExecutorMonitor received late SparkListenerBlockUpdated event. The `onBlockUpdated` hander will call `ensureExecutorIsTracked`, which will create a new executor tracker with UNKNOWN_RESOURCE_PROFILE_ID for the dead executor. And ExecutorAllocationManager will not remove executor with UNKNOWN_RESOURCE_PROFILE_ID, which cause a executor slot is occupied by the dead executor, so a new one cannot be created .
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org