Skip to content

Commit 1b60cb6

Browse files
author
Marcelo Vanzin
committed
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.
1 parent 037fe4d commit 1b60cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/ui/UIUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private[spark] object UIUtils extends Logging {
158158
<body>
159159
<div class="navbar navbar-static-top">
160160
<div class="navbar-inner">
161-
<a href={prependBaseUri(basePath, "/")} class="brand">
161+
<a href="/" class="brand">
162162
<img src={prependBaseUri("/static/spark-logo-77x50px-hd.png")} />
163163
</a>
164164
<ul class="nav">{header}</ul>

0 commit comments

Comments
 (0)