PierreLeresteux opened a new pull request #30348: URL: https://github.com/apache/spark/pull/30348
[SPARK-33413][WEBUI] SparkUI doesn't work when use an external reverse proxy ### What changes were proposed in this pull request? This PR aims to fix the compute URL when use an external reverse proxy. SparkUI/Executors make an API call but the URL is wrong and don't use existing (only use the domain). This PR add a new way to compute this URL using the total URL and removing the last part (eg. "executors/") in order to keep using the full URL. ### Why are the changes needed? We can use the SparkUI under an external reverse proxy (HTML and other static files already works, just missing API calls) ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? No tests are made for JS files on this project. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
