Skip to content

[SPARK-16808][Core] History Server main page does not honor APPLICATION_WEB_PROXY_BASE - #15855

Closed
vijoshi wants to merge 1 commit into
apache:branch-2.0from
vijoshi:SPARK-16808_branch-2.0
Closed

[SPARK-16808][Core] History Server main page does not honor APPLICATION_WEB_PROXY_BASE #15855
vijoshi wants to merge 1 commit into
apache:branch-2.0from
vijoshi:SPARK-16808_branch-2.0

Conversation

@vijoshi

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Backport SPARK-16808 (#15742) to branch-2.0.

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.

…ON_WEB_PROXY_BASE
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.
Existing tests and a new unit test.
No visual changes to the UI.
Author: Vinayak <vijoshi5@in.ibm.com>
@SparkQA

Copy link
Copy Markdown

Test build #68540 has finished for PR 15855 at commit 844561c.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vijoshi

Copy link
Copy Markdown
ContributorAuthor

@vanzin - ping

@vanzin

Copy link
Copy Markdown
Contributor

Merging to branch-2.0.

asfgit pushed a commit that referenced this pull request Nov 15, 2016
…ON_WEB_PROXY_BASE
## What changes were proposed in this pull request?
Backport SPARK-16808 (#15742) to branch-2.0.
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#15855 from vijoshi/SPARK-16808_branch-2.0.
@vanzin

Copy link
Copy Markdown
Contributor

@vijoshi could you close this? The bot doesn't do it for non-master PRs.

@vijoshivijoshi closed this Nov 16, 2016
@vijoshi

Copy link
Copy Markdown
ContributorAuthor

Thanks @vanzin ! Closed the PR.

@vijoshi
vijoshi deleted the SPARK-16808_branch-2.0 branch January 24, 2017 10:31
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vijoshi@SparkQA@vanzin