You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by tg...@apache.org on 2014/07/23 03:35:02 UTC

git commit: [YARN][SPARK-2606]:In some cases, the spark UI pages display incorrect

Repository: spark
Updated Branches:
  refs/heads/master 5f7b99168 -> ddadf1b00


[YARN][SPARK-2606]:In some cases,the spark UI pages display incorrect

The issue is caused by #1112 .

Author: GuoQiang Li <wi...@qq.com>

Closes #1501 from witgo/webui_style and squashes the following commits:

4b34998 [GuoQiang Li] In some cases, pages display incorrect in WebUI


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

Branch: refs/heads/master
Commit: ddadf1b00470b9d7bf7386dacf198d41407a0a2b
Parents: 5f7b991
Author: GuoQiang Li <wi...@qq.com>
Authored: Tue Jul 22 20:34:40 2014 -0500
Committer: Thomas Graves <tg...@apache.org>
Committed: Tue Jul 22 20:34:40 2014 -0500

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/ui/UIUtils.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/ddadf1b0/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 e07aa2e..715cc2f 100644
--- a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
+++ b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
@@ -149,7 +149,7 @@ private[spark] object UIUtils extends Logging {
 
   def prependBaseUri(basePath: String = "", resource: String = "") = uiRoot + basePath + resource
 
-  val commonHeaderNodes = {
+  def commonHeaderNodes = {
     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
     <link rel="stylesheet" href={prependBaseUri("/static/bootstrap.min.css")}
           type="text/css" />