Github user ajbozarth commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19532#discussion_r147795197
  
    --- 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 --
    
    I'm on the fence on this change, I would tend to agree with @srowen but as 
@cloud-fan said, the consistency with the UI would make sense. If we did keep 
this change I thing removing the redundant code would also make sense.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to