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

Zhen Wang updated SPARK-58836:
------------------------------
    Description: 
When the Spark Web UI is accessed through a web proxy, opening the driver or
executor *"Thread Dump"* panel from the Executors page fails to load the flame
graph static resources.

For example, when the Spark UI is accessed at:

/proxy/application_1769588986968_67458200/

the thread dump panel requests the following URL:

/static/d3-flamegraph.css

This returns HTTP 404 because the proxy base path is missing. The expected URL
is:

/proxy/application_1769588986968_67458200/static/d3-flamegraph.css

The same issue affects `d3.min.js` and `d3-flamegraph.min.js`.

!image-2026-08-18-14-21-00-812.png!

  was:
When the Spark Web UI is accessed through a web proxy, opening the driver or
executor *{*}Thread Dump{*}* panel from the Executors page fails to load the 
flame
graph static resources.

For example, when the Spark UI is accessed at:

/proxy/application_1769588986968_67458200/

the thread dump panel requests the following URL:

/static/d3-flamegraph.css

This returns HTTP 404 because the proxy base path is missing. The expected URL
is:

/proxy/application_1769588986968_67458200/static/d3-flamegraph.css

The same issue affects `d3.min.js` and `d3-flamegraph.min.js`.

!image-2026-08-18-14-21-00-812.png!


> Thread dump flame graph resources return 404 behind a web proxy
> ---------------------------------------------------------------
>
>                 Key: SPARK-58836
>                 URL: https://issues.apache.org/jira/browse/SPARK-58836
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 4.2.0, 5.0.0
>            Reporter: Zhen Wang
>            Priority: Minor
>         Attachments: image-2026-08-18-14-21-00-812.png
>
>
> When the Spark Web UI is accessed through a web proxy, opening the driver or
> executor *"Thread Dump"* panel from the Executors page fails to load the flame
> graph static resources.
> For example, when the Spark UI is accessed at:
> /proxy/application_1769588986968_67458200/
> the thread dump panel requests the following URL:
> /static/d3-flamegraph.css
> This returns HTTP 404 because the proxy base path is missing. The expected URL
> is:
> /proxy/application_1769588986968_67458200/static/d3-flamegraph.css
> The same issue affects `d3.min.js` and `d3-flamegraph.min.js`.
> !image-2026-08-18-14-21-00-812.png!



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