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

Zhen Wang updated SPARK-52533:
------------------------------
    Summary: Support enabling only spark driver profiler  (was: Support only 
enabling spark driver profiler)

> 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
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to