Repository: spark
Updated Branches:
  refs/heads/master c6a6dd0d0 -> bfbf12b34


[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.


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

Branch: refs/heads/master
Commit: bfbf12b349e998c7e674649a07b88c4658ae0711
Parents: c6a6dd0
Author: Timothy Chen <[email protected]>
Authored: Wed Jun 3 14:57:23 2015 -0700
Committer: Andrew Or <[email protected]>
Committed: Wed Jun 3 14:57:23 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/bfbf12b3/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