File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
core/src/main/scala/org/apache/spark/ui/jobs Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1717
1818package org .apache .spark .ui .jobs
1919
20- import javax .servlet .http .HttpServletRequest
21-
2220import scala .xml .{Node , NodeSeq }
2321
22+ import javax .servlet .http .HttpServletRequest
23+
2424import org .apache .spark .ui .{WebUIPage , UIUtils }
2525import 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 */
2929private [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" )}
You can’t perform that action at this time.
0 commit comments