You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (Jira)" <ji...@apache.org> on 2022/08/04 01:56:00 UTC

[jira] [Created] (SPARK-39973) Avoid noisy warnings logs when spark.scheduler.listenerbus.metrics.maxListenerClassesTimed = 0

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org