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] [Updated] (SPARK-39973) Avoid noisy warnings logs when spark.scheduler.listenerbus.metrics.maxListenerClassesTimed = 0

     [ https://issues.apache.org/jira/browse/SPARK-39973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Rosen updated SPARK-39973:
-------------------------------
    Description: 
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 maxListenerClassesTimed = 0.

I don't plan to work on this myself.

  was:
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.


> 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
>            Priority: Minor
>
> 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 maxListenerClassesTimed = 0.
> I don't plan to work on this myself.



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