Repository: spark
Updated Branches:
  refs/heads/branch-1.2 e81c86967 -> e20d63242


[SPARK-4920][UI] add version on master and worker page for standalone mode

Author: Zhang, Liye <[email protected]>

Closes #3769 from liyezhang556520/spark-4920_WebVersion and squashes the 
following commits:

3bb7e0d [Zhang, Liye] add version on master and worker page

(cherry picked from commit 9077e721cd36adfecd50cbd1fd7735d28e5be8b5)
Signed-off-by: Josh Rosen <[email protected]>


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

Branch: refs/heads/branch-1.2
Commit: e20d6324289f7c26987b61d071e79b81d75fa697
Parents: e81c869
Author: Zhang, Liye <[email protected]>
Authored: Tue Dec 30 09:19:47 2014 -0800
Committer: Josh Rosen <[email protected]>
Committed: Tue Dec 30 09:20:25 2014 -0800

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/ui/UIUtils.scala | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/e20d6324/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
----------------------------------------------------------------------
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 7486cb6..b5022fe 100644
--- a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
+++ b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
@@ -234,8 +234,9 @@ private[spark] object UIUtils extends Logging {
             <div class="span12">
               <h3 style="vertical-align: middle; display: inline-block;">
                 <a style="text-decoration: none" href={prependBaseUri("/")}>
-                  <img 
src={prependBaseUri("/static/spark-logo-77x50px-hd.png")}
-                       style="margin-right: 15px;" />
+                  <img 
src={prependBaseUri("/static/spark-logo-77x50px-hd.png")} />
+                  <span class="version" 
+                        style="margin-right: 
15px;">{org.apache.spark.SPARK_VERSION}</span>
                 </a>
                 {title}
               </h3>


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

Reply via email to