Repository: spark
Updated Branches:
  refs/heads/branch-1.4 31e0ae9e1 -> 59399a8f0


[SPARK-8083] [MESOS] Use the correct base path in mesos driver page.

Author: Timothy Chen <[email protected]>

Closes #6615 from tnachen/mesos_driver_path and squashes the following commits:

4f47b7c [Timothy Chen] Use the correct base path in mesos driver page.

(cherry picked from commit bfbf12b349e998c7e674649a07b88c4658ae0711)
Signed-off-by: Andrew Or <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/59399a8f
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/59399a8f
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/59399a8f

Branch: refs/heads/branch-1.4
Commit: 59399a8f0cbb962c896ade567093500af039444c
Parents: 31e0ae9
Author: Timothy Chen <[email protected]>
Authored: Wed Jun 3 14:57:23 2015 -0700
Committer: Andrew Or <[email protected]>
Committed: Wed Jun 3 14:58:33 2015 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/deploy/mesos/ui/DriverPage.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/59399a8f/core/src/main/scala/org/apache/spark/deploy/mesos/ui/DriverPage.scala
----------------------------------------------------------------------
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 be8560d..e8ef60b 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>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to