-
- Downloads
[SPARK-21176][WEB UI] Format worker page links to work with proxy
## What changes were proposed in this pull request? Several links on the worker page do not work correctly with the proxy because: 1) They don't acknowledge the proxy 2) They use relative paths (unlike the Application Page which uses full paths) This patch fixes that. It also fixes a mistake in the proxy's Location header parsing which caused it to incorrectly handle redirects. ## How was this patch tested? I checked the validity of every link with the proxy on and off. Author: Anderson Osagie <osagie@gmail.com> Closes #18915 from aosagie/fix/proxy-links.
Showing
- core/src/main/scala/org/apache/spark/deploy/master/ui/ApplicationPage.scala 4 additions, 4 deletions...a/org/apache/spark/deploy/master/ui/ApplicationPage.scala
- core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala 3 additions, 1 deletion...rc/main/scala/org/apache/spark/deploy/worker/Worker.scala
- core/src/main/scala/org/apache/spark/deploy/worker/ui/WorkerPage.scala 18 additions, 10 deletions.../scala/org/apache/spark/deploy/worker/ui/WorkerPage.scala
- core/src/main/scala/org/apache/spark/ui/JettyUtils.scala 6 additions, 3 deletionscore/src/main/scala/org/apache/spark/ui/JettyUtils.scala
- core/src/test/scala/org/apache/spark/ui/UISuite.scala 1 addition, 1 deletioncore/src/test/scala/org/apache/spark/ui/UISuite.scala
Loading
Please register or sign in to comment