commit
22abbc10d6
|
@ -128,6 +128,8 @@ class SparkContext(
|
|||
private[spark] val ui = new SparkUI(this)
|
||||
ui.bind()
|
||||
|
||||
val startTime = System.currentTimeMillis()
|
||||
|
||||
// Add each JAR given through the constructor
|
||||
if (jars != null) {
|
||||
jars.foreach { addJar(_) }
|
||||
|
|
|
@ -49,6 +49,10 @@ private[spark] class IndexPage(parent: JobProgressUI) {
|
|||
val summary: NodeSeq =
|
||||
<div>
|
||||
<ul class="unstyled">
|
||||
<li>
|
||||
<strong>Duration: </strong>
|
||||
{parent.formatDuration(now - listener.sc.startTime)}
|
||||
</li>
|
||||
<li>
|
||||
<strong>CPU time: </strong>
|
||||
{parent.formatDuration(listener.totalTime + activeTime)}
|
||||
|
|
Loading…
Reference in a new issue