[ 
https://issues.apache.org/jira/browse/EAGLE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15431937#comment-15431937
 ] 

ASF GitHub Bot commented on EAGLE-492:
--------------------------------------

GitHub user pkuwm opened a pull request:

    https://github.com/apache/incubator-eagle/pull/375

    [EAGLE-492] Fix negative total execution time and make some code opti…

    …mization for spark history job.

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

    $ git pull https://github.com/pkuwm/incubator-eagle EAGLE-492

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

    https://github.com/apache/incubator-eagle/pull/375.patch

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

    This closes #375
    
----
commit cbf4cf7585f66d9cdb5cbd26b9832b529d2852fa
Author: pkuwm <[email protected]>
Date:   2016-08-23T01:21:31Z

    [EAGLE-492] Fix negative total execution time and make some code 
optimization for spark history job.

----


> Fix negative total execution time and make some code optimization for spark 
> history job.
> ----------------------------------------------------------------------------------------
>
>                 Key: EAGLE-492
>                 URL: https://issues.apache.org/jira/browse/EAGLE-492
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.5.0
>            Reporter: Huizhi Lu
>            Assignee: Huizhi Lu
>             Fix For: v0.5.0
>
>
> 1) negative total execution time
> It is because the app was killed or terminated unexpectedly without 
> completion. In the log file, it has only SparkListenerBlockManagerAdded 
> timestamp. "Timestamp":1470768362299
> And the code initiated executor starttime with this timestamp.
> No executor or app endtime available, so executor endtime = 0L.
> Finally, totalExecutionTime = -1470768362299
> The code logic does not consider the situation when executor or app Endtime = 
> 0L.
> Solution: If totalExecutionTime < 0L, set it = 0L. Stating the app is killed 
> and not completed.
> 2) Url builder bug for completed jobs



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to