dongjoon-hyun opened a new pull request, #42959:
URL: https://github.com/apache/spark/pull/42959
### What changes were proposed in this pull request?
This PR aims to use the same pattern for `logPage` query parameters of
`WorkerPage`.
### Why are the changes needed?
Since SPARK-34635, Apache Spark adds trailing slashes to reduce
redirections. This PR aims to fix a leftover to work in case of the reverse
proxy situation via `spark.ui.reverseProxy`.
```
- <a
href={s"$workerUrlRef/logPage?driverId=${driver.driverId}&logType=stdout"}>stdout</a>
- <a
href={s"$workerUrlRef/logPage?driverId=${driver.driverId}&logType=stderr"}>stderr</a>
+ <a
href={s"$workerUrlRef/logPage/?driverId=${driver.driverId}&logType=stdout"}>stdout</a>
+ <a
href={s"$workerUrlRef/logPage/?driverId=${driver.driverId}&logType=stderr"}>stderr</a>
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manual tests because it requires a reverse proxy.
### Was this patch authored or co-authored using generative AI tooling?
No.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]