You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2025/06/25 17:26:00 UTC

[jira] [Resolved] (SPARK-52533) Support enabling only spark driver profiler

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

Dongjoon Hyun resolved SPARK-52533.
-----------------------------------
    Fix Version/s: 4.1.0
         Assignee: Zhen Wang
       Resolution: Fixed

This is resolved via https://github.com/apache/spark/pull/51223

> Support enabling only spark driver profiler
> -------------------------------------------
>
>                 Key: SPARK-52533
>                 URL: https://issues.apache.org/jira/browse/SPARK-52533
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 4.0.0
>            Reporter: Zhen Wang
>            Assignee: Zhen Wang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> SPARK-50811 supports enabling JVM profiler on driver, but [SparkAsyncProfiler|https://github.com/apache/spark/blob/8222670dba1791a289be08d9f01a52505175edd2/connector/profiler/src/main/scala/org/apache/spark/profiler/SparkAsyncProfiler.scala#L39] always checks `PROFILER_EXECUTOR_ENABLED`, so it is not possible to enable only driver profiler.
> There are already profiler enabled checks in ProfilerPlugin. We should remove the redundant check in SparkAsyncProfiler to support only driver profiler enabled.



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