You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/06/30 01:46:32 UTC
git commit: [SPARK-2320] Reduce exception/code block font size in web
ui
Repository: spark
Updated Branches:
refs/heads/master 2053d793c -> cdf613fc5
[SPARK-2320] Reduce exception/code block font size in web ui
Author: Reynold Xin <rx...@apache.org>
Closes #1261 from rxin/ui-pre-size and squashes the following commits:
7ab1a69 [Reynold Xin] [SPARK-2320] Reduce exception/code block font size in web ui
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/cdf613fc
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/cdf613fc
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/cdf613fc
Branch: refs/heads/master
Commit: cdf613fc52d7057555a2dbf2241ce90bacbabb4a
Parents: 2053d79
Author: Reynold Xin <rx...@apache.org>
Authored: Sun Jun 29 16:46:28 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
Committed: Sun Jun 29 16:46:28 2014 -0700
----------------------------------------------------------------------
core/src/main/resources/org/apache/spark/ui/static/webui.css | 4 ++++
core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/cdf613fc/core/src/main/resources/org/apache/spark/ui/static/webui.css
----------------------------------------------------------------------
diff --git a/core/src/main/resources/org/apache/spark/ui/static/webui.css b/core/src/main/resources/org/apache/spark/ui/static/webui.css
index a8bc141..11fd956 100644
--- a/core/src/main/resources/org/apache/spark/ui/static/webui.css
+++ b/core/src/main/resources/org/apache/spark/ui/static/webui.css
@@ -95,6 +95,10 @@ span.expand-details {
float: right;
}
+pre {
+ font-size: 0.8em;
+}
+
.stage-details {
max-height: 100px;
overflow-y: auto;
http://git-wip-us.apache.org/repos/asf/spark/blob/cdf613fc/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala b/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
index 30971f7..b2b6cc6 100644
--- a/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
+++ b/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
@@ -168,7 +168,7 @@ private[ui] class FailedStageTable(
override protected def stageRow(s: StageInfo): Seq[Node] = {
val basicColumns = super.stageRow(s)
- val failureReason = <td valign="middle">{s.failureReason.getOrElse("")}</td>
+ val failureReason = <td valign="middle"><pre>{s.failureReason.getOrElse("")}</pre></td>
basicColumns ++ failureReason
}
}