From bfbf12b349e998c7e674649a07b88c4658ae0711 Mon Sep 17 00:00:00 2001 From: Timothy Chen <tnachen@gmail.com> Date: Wed, 3 Jun 2015 14:57:23 -0700 Subject: [PATCH] [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. --- .../scala/org/apache/spark/deploy/mesos/ui/DriverPage.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> -- GitLab