[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:
![3](https://user-images.githubusercontent.com/26266482/30732242-2fb11442-9fa4-11e7-98ea-80a98f280243.png)

2. should be consistent with the 'JDBC / ODBC Server' page style, I am in this way to modify the style. As shown below:
![2](https://user-images.githubusercontent.com/26266482/30732257-3c550820-9fa4-11e7-9d8e-467d3011e0ac.png)

My changes are as follows:
![6](https://user-images.githubusercontent.com/26266482/30732318-8f61d8b8-9fa4-11e7-8af5-037ed12b13c9.png)

![5](https://user-images.githubusercontent.com/26266482/30732284-5b6a6c00-9fa4-11e7-8db9-3a2291f37ae6.png)

## How was this patch tested?
manual tests

Please review http://spark.apache.org/contributing.html before opening a pull request.

Author: guoxiaolong <guo.xiaolong1@zte.com.cn>

Closes #19320 from guoxiaolongzte/SPARK-22099.
This commit is contained in:
guoxiaolong 2017-09-23 15:39:53 +01:00 committed by Sean Owen
parent c11f24a940
commit 3920af7d1d

View file

@ -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>