diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2014-04-16 08:53:01 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-04-16 08:53:09 -0700 |
commit | 5fe18a74fd94621116983a898e7f3cec4e6cd4fb (patch) | |
tree | db348d6ed8e92bae7bd77182de1db6f3c80e859e /core | |
parent | 1ea9a21f4baaeb7fc64596ab166d1aa95d580251 (diff) | |
download | spark-5fe18a74fd94621116983a898e7f3cec4e6cd4fb.tar.gz spark-5fe18a74fd94621116983a898e7f3cec4e6cd4fb.tar.bz2 spark-5fe18a74fd94621116983a898e7f3cec4e6cd4fb.zip |
Make "spark logo" link refer to "/".
This is not an issue with the driver UI, but when you fire
up the history server, there's currently no way to go back to
the app listing page without editing the browser's location
field (since the logo's link points to the root of the
application's own UI - i.e. the "stages" tab).
The change just points the logo link to "/", which is the app
listing for the history server, and the stages tab for the
driver's UI.
Tested with both history server and live driver.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #408 from vanzin/web-ui-root and squashes the following commits:
1b60cb6 [Marcelo Vanzin] Make "spark logo" link refer to "/".
(cherry picked from commit c0273d806ea9b83dd8585039f2a18c2cc795dad2)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/scala/org/apache/spark/ui/UIUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala index 6a2d652528..99770f2854 100644 --- a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala +++ b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala @@ -158,7 +158,7 @@ private[spark] object UIUtils extends Logging { <body> <div class="navbar navbar-static-top"> <div class="navbar-inner"> - <a href={prependBaseUri(basePath, "/")} class="brand"> + <a href="/" class="brand"> <img src={prependBaseUri("/static/spark-logo-77x50px-hd.png")} /> </a> <ul class="nav">{header}</ul> |