GitHub user zsxwing opened a pull request:

    [SPARK-23326][WEBUI]schedulerDelay should return 0 when the task is running

    ## What changes were proposed in this pull request?
    When a task is still running, metrics like executorRunTime are not 
available. Then `schedulerDelay` will be almost the same as `duration` and 
that's confusing.
    This PR makes `schedulerDelay` return 0 when the task is running which is 
the same behavior as 2.2.
    ## How was this patch tested?

You can merge this pull request into a Git repository by running:

    $ git pull SPARK-23326

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20493
commit 7889fb0e5e4515ade35c2a07703017e16ee6194a
Author: Shixiong Zhu <zsxwing@...>
Date:   2018-02-03T00:25:34Z

    schedulerDelay should return 0 when the task is running



To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to