Github user guoxiaolongzte commented on a diff in the pull request:
https://github.com/apache/spark/pull/19532#discussion_r147677958
--- Diff: core/src/main/scala/org/apache/spark/ui/SparkUI.scala ---
@@ -120,7 +120,7 @@ private[spark] class SparkUI private (
attemptId = None,
startTime = new Date(startTime),
endTime = new Date(-1),
- duration = 0,
+ duration = System.currentTimeMillis() - startTime,
--- End diff --
No effect.
In master page, âduration âis calculated using the duration attribute
of the ApplicationInfo object.


And ApplicationAttemptInfo object does not matter.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]