aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorZhang, Liye <liye.zhang@intel.com>2014-12-30 09:19:47 -0800
committerJosh Rosen <joshrosen@databricks.com>2014-12-30 09:20:25 -0800
commite20d6324289f7c26987b61d071e79b81d75fa697 (patch)
tree706930b647b0c77849d3e9b692e08ec6e6ec2e96 /core
parente81c869677b566dfcabedca89a40aeea7dc16fa9 (diff)
downloadspark-e20d6324289f7c26987b61d071e79b81d75fa697.tar.gz
spark-e20d6324289f7c26987b61d071e79b81d75fa697.tar.bz2
spark-e20d6324289f7c26987b61d071e79b81d75fa697.zip
[SPARK-4920][UI] add version on master and worker page for standalone mode
Author: Zhang, Liye <liye.zhang@intel.com> 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 <joshrosen@databricks.com>
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/ui/UIUtils.scala5
1 files changed, 3 insertions, 2 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 7486cb6b1b..b5022fe853 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>