[
https://issues.apache.org/jira/browse/SPARK-39864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-39864:
----------------------------------
Affects Version/s: 3.4.0
(was: 2.0.0)
> ExecutionListenerManager's registration of the ExecutionListenerBus should be
> lazy
> ----------------------------------------------------------------------------------
>
> Key: SPARK-39864
> URL: https://issues.apache.org/jira/browse/SPARK-39864
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.4.0
> Reporter: Josh Rosen
> Assignee: Josh Rosen
> Priority: Major
> Fix For: 3.4.0
>
>
> Today, ExecutionListenerManager eagerly registers an ExecutionListenerBus
> SparkListener when it is created, even if the SparkSession has no query
> execution listeners registered. In applications with many short-lived
> SparkSessions, this can cause a buildup of empty listeners on the shared
> listener bus, increasing Spark listener processing times on the driver.
> If we make the registration lazy then we avoid this driver-side listener
> performance overhead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]