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

    https://github.com/apache/spark/pull/19532#discussion_r147665765
  
    --- 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 neutral to this change. Normally we don't update the duration until the 
attempt has been finished. But you can also argue that we do in other places.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to