Skip to content

Commit bfce2b9

Browse files
committed
Address review comments, except for progress bar.
1 parent 4487dcb commit bfce2b9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717

1818
package org.apache.spark.ui.jobs
1919

20-
import javax.servlet.http.HttpServletRequest
21-
2220
import scala.xml.{Node, NodeSeq}
2321

22+
import javax.servlet.http.HttpServletRequest
23+
2424
import org.apache.spark.ui.{WebUIPage, UIUtils}
2525
import org.apache.spark.ui.jobs.UIData.JobUIData
2626

2727

28-
/** Page showing list of all ongoing and recently finished stages and pools */
28+
/** Page showing list of all ongoing and recently finished jobs */
2929
private[ui] class AllJobsPage(parent: JobsTab) extends WebUIPage("") {
3030
private val sc = parent.sc
3131
private val listener = parent.listener
@@ -103,12 +103,12 @@ private[ui] class AllJobsPage(parent: JobsTab) extends WebUIPage("") {
103103
<div>
104104
<ul class="unstyled">
105105
{if (sc.isDefined) {
106-
// Total duration is not meaningful unless the UI is live
107-
<li>
108-
<strong>Total Duration: </strong>
109-
{UIUtils.formatDuration(now - sc.get.startTime)}
110-
</li>
111-
}}
106+
// Total duration is not meaningful unless the UI is live
107+
<li>
108+
<strong>Total Duration: </strong>
109+
{UIUtils.formatDuration(now - sc.get.startTime)}
110+
</li>
111+
}}
112112
<li>
113113
<strong>Scheduling Mode: </strong>
114114
{listener.schedulingMode.map(_.toString).getOrElse("Unknown")}

0 commit comments

Comments
 (0)