Zhen Wang created SPARK-52533:
---------------------------------

             Summary: Support only enabling 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
         Environment: 
[SPARK-50811|https://issues.apache.org/jira/browse/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.
            Reporter: Zhen Wang






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