aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorTimothy Chen <tnachen@gmail.com>2015-06-03 14:57:23 -0700
committerAndrew Or <andrew@databricks.com>2015-06-03 14:57:23 -0700
commitbfbf12b349e998c7e674649a07b88c4658ae0711 (patch)
treeed2ec354462c0eec30723077f2829c1279d9a1f1 /core/src
parentc6a6dd0d0736d548ff9f255e5ed5df45b29c46c1 (diff)
downloadspark-bfbf12b349e998c7e674649a07b88c4658ae0711.tar.gz
spark-bfbf12b349e998c7e674649a07b88c4658ae0711.tar.bz2
spark-bfbf12b349e998c7e674649a07b88c4658ae0711.zip
[SPARK-8083] [MESOS] Use the correct base path in mesos driver page.
Author: Timothy Chen <tnachen@gmail.com> Closes #6615 from tnachen/mesos_driver_path and squashes the following commits: 4f47b7c [Timothy Chen] Use the correct base path in mesos driver page.
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/scala/org/apache/spark/deploy/mesos/ui/DriverPage.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/deploy/mesos/ui/DriverPage.scala b/core/src/main/scala/org/apache/spark/deploy/mesos/ui/DriverPage.scala
index be8560d10f..e8ef60bd54 100644
--- a/core/src/main/scala/org/apache/spark/deploy/mesos/ui/DriverPage.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/mesos/ui/DriverPage.scala
@@ -68,7 +68,7 @@ private[ui] class DriverPage(parent: MesosClusterUI) extends WebUIPage("driver")
retryHeaders, retryRow, Iterable.apply(driverState.description.retryState))
val content =
<p>Driver state information for driver id {driverId}</p>
- <a href="/">Back to Drivers</a>
+ <a href={UIUtils.prependBaseUri("/")}>Back to Drivers</a>
<div class="row-fluid">
<div class="span12">
<h4>Driver state: {driverState.state}</h4>