spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Antes (JIRA)" <>
Subject [jira] [Commented] (SPARK-16808) History Server main page does not honor APPLICATION_WEB_PROXY_BASE
Date Wed, 02 Nov 2016 12:45:58 GMT


Jeff Antes commented on SPARK-16808:

One possible solution is in the /core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala.

  private[history] def getAttemptURI(appId: String, attemptId: Option[String]): String = {
    val attemptSuffix = { id => s"/$id" }.getOrElse("")

In the 1.6.x line of code the UIUtils.prependBaseUri was positioned where this method was
called.  The rewrite removed it.  Fixing it here appears to be better semantically.

> History Server main page does not honor APPLICATION_WEB_PROXY_BASE
> ------------------------------------------------------------------
>                 Key: SPARK-16808
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Michael Gummelt
> The root of the history server is rendered dynamically with javascript, and this doesn't
> Other links in the history server do honor it:
> This means the links on the history server root page are broken when deployed behind
a proxy.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message