You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2017/09/23 14:39:57 UTC
spark git commit: [SPARK-22099] The 'job ids' list style needs to be
changed in the SQL page.
Repository: spark
Updated Branches:
refs/heads/master c11f24a94 -> 3920af7d1
[SPARK-22099] The 'job ids' list style needs to be changed in the SQL page.
## What changes were proposed in this pull request?
The 'job ids' list style needs to be changed in the SQL page. There are two reasons:
1. If a job id is a line, there are a lot of job ids, then the table row height will be high. As shown below:

2. should be consistent with the 'JDBC / ODBC Server' page style, I am in this way to modify the style. As shown below:

My changes are as follows:


## How was this patch tested?
manual tests
Please review http://spark.apache.org/contributing.html before opening a pull request.
Author: guoxiaolong <gu...@zte.com.cn>
Closes #19320 from guoxiaolongzte/SPARK-22099.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3920af7d
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3920af7d
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3920af7d
Branch: refs/heads/master
Commit: 3920af7d1dcf1631d3930b1b780116562741b35d
Parents: c11f24a
Author: guoxiaolong <gu...@zte.com.cn>
Authored: Sat Sep 23 15:39:53 2017 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Sat Sep 23 15:39:53 2017 +0100
----------------------------------------------------------------------
.../spark/sql/execution/ui/AllExecutionsPage.scala | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/3920af7d/sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
index 64c9d90..41929ed 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
@@ -88,13 +88,19 @@ private[ui] abstract class ExecutionTable(
val duration = executionUIData.completionTime.getOrElse(currentTime) - submissionTime
val runningJobs = executionUIData.runningJobs.map { jobId =>
- <a href={jobURL(jobId)}>{jobId.toString}</a><br/>
+ <a href={jobURL(jobId)}>
+ [{jobId.toString}]
+ </a>
}
val succeededJobs = executionUIData.succeededJobs.sorted.map { jobId =>
- <a href={jobURL(jobId)}>{jobId.toString}</a><br/>
+ <a href={jobURL(jobId)}>
+ [{jobId.toString}]
+ </a>
}
val failedJobs = executionUIData.failedJobs.sorted.map { jobId =>
- <a href={jobURL(jobId)}>{jobId.toString}</a><br/>
+ <a href={jobURL(jobId)}>
+ [{jobId.toString}]
+ </a>
}
<tr>
<td>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org