-
- Downloads
[SPARK-16808][CORE] History Server main page does not honor APPLICATION_WEB_PROXY_BASE
## What changes were proposed in this pull request? Application links generated on the history server UI no longer (regression from 1.6) contain the configured spark.ui.proxyBase in the links. To address this, made the uiRoot available globally to all javascripts for Web UI. Updated the mustache template (historypage-template.html) to include the uiroot for rendering links to the applications. The existing test was not sufficient to verify the scenario where ajax call is used to populate the application listing template, so added a new selenium test case to cover this scenario. ## How was this patch tested? Existing tests and a new unit test. No visual changes to the UI. Author: Vinayak <vijoshi5@in.ibm.com> Closes #15742 from vijoshi/SPARK-16808_master.
Showing
- core/src/main/resources/org/apache/spark/ui/static/historypage-template.html 3 additions, 3 deletions...rces/org/apache/spark/ui/static/historypage-template.html
- core/src/main/resources/org/apache/spark/ui/static/historypage.js 5 additions, 1 deletion.../main/resources/org/apache/spark/ui/static/historypage.js
- core/src/main/resources/org/apache/spark/ui/static/webui.js 6 additions, 0 deletionscore/src/main/resources/org/apache/spark/ui/static/webui.js
- core/src/main/scala/org/apache/spark/ui/UIUtils.scala 1 addition, 0 deletionscore/src/main/scala/org/apache/spark/ui/UIUtils.scala
- core/src/test/scala/org/apache/spark/deploy/history/HistoryServerSuite.scala 77 additions, 3 deletions.../org/apache/spark/deploy/history/HistoryServerSuite.scala
Loading
Please register or sign in to comment