Josh Rosen created SPARK-39864: ---------------------------------- Summary: 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
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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org