[
https://issues.apache.org/jira/browse/SPARK-39864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571134#comment-17571134
]
Apache Spark commented on SPARK-39864:
--------------------------------------
User 'JoshRosen' has created a pull request for this issue:
https://github.com/apache/spark/pull/37282
> 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: 2.0.0
> Reporter: Josh Rosen
> Assignee: Josh Rosen
> Priority: Major
>
> 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]