You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jo...@apache.org on 2014/12/30 18:20:17 UTC

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

Repository: spark
Updated Branches:
  refs/heads/master 040d6f2d1 -> 9077e721c


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

Author: Zhang, Liye <li...@intel.com>

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

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


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

Branch: refs/heads/master
Commit: 9077e721cd36adfecd50cbd1fd7735d28e5be8b5
Parents: 040d6f2
Author: Zhang, Liye <li...@intel.com>
Authored: Tue Dec 30 09:19:47 2014 -0800
Committer: Josh Rosen <jo...@databricks.com>
Committed: Tue Dec 30 09:19:47 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/9077e721/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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org