Josh Rosen created SPARK-39973:
----------------------------------

             Summary: Avoid noisy warnings logs when 
spark.scheduler.listenerbus.metrics.maxListenerClassesTimed = 0
                 Key: SPARK-39973
                 URL: https://issues.apache.org/jira/browse/SPARK-39973
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.4.0
            Reporter: Josh Rosen


If {{spark.scheduler.listenerbus.metrics.maxListenerClassesTimed}} has been set 
to {{0}} to disable listener timers then listener registration will trigger 
noisy warnings like
{code:java}
LiveListenerBusMetrics: Not measuring processing time for listener class 
org.apache.spark.sql.util.ExecutionListenerBus because a maximum of 0 listener 
classes are already timed.{code}
warnings.

We should change the code to not print this warning when max listeners is zero.



--
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

Reply via email to