From 164a08208ba795c91cd5a33f2213f8eea1b2d24e Mon Sep 17 00:00:00 2001 From: Jeff Antes Date: Wed, 2 Nov 2016 14:14:23 -0500 Subject: [PATCH] [SPARK-16808][Core] prepend base URI for links on main history server page --- .../scala/org/apache/spark/deploy/history/HistoryServer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala b/core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala index 3175b36b3e56f..d2652c9a1fe5d 100644 --- a/core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala +++ b/core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala @@ -296,7 +296,7 @@ object HistoryServer extends Logging { private[history] def getAttemptURI(appId: String, attemptId: Option[String]): String = { val attemptSuffix = attemptId.map { id => s"/$id" }.getOrElse("") - s"${HistoryServer.UI_PATH_PREFIX}/${appId}${attemptSuffix}" + UIUtils.prependBaseUri(s"${HistoryServer.UI_PATH_PREFIX}/${appId}${attemptSuffix}") } }