You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2017/08/02 05:45:00 UTC

[jira] [Comment Edited] (KYLIN-2753) Job duration may become negative after the job resumed from error or paused status

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

Dong Li edited comment on KYLIN-2753 at 8/2/17 5:44 AM:
--------------------------------------------------------

Hi Zhengdong and Billy,

I can still hit this issue when resume a paused job. I'm using the latest 2.1.x branch, commit 77e8728c63982e99574e0599d9771cee6a7b076d


was (Author: lidong_sjtu):
Hi Zhengdong and Billy,

I can still met this issue when resume a paused job. I'm using the latest 2.1.x branch, commit 77e8728c63982e99574e0599d9771cee6a7b076d

> Job duration may become negative after the job resumed from error or paused status
> ----------------------------------------------------------------------------------
>
>                 Key: KYLIN-2753
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2753
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v2.1.0
>            Reporter: zhengdong
>            Assignee: zhengdong
>             Fix For: v2.1.0
>
>         Attachments: 0001-KYLIN-2753-Job-duration-may-become-negative-after-th.patch
>
>
> After KYLIN-2655, we calculate the 'Interrupt time' when a job resumed from error/stopped status to give more accurate job duration time. However, when calculate the real duration time = 'Total time' - 'Interrupt time', we could get a negative value.
> The root cause is 'Interrupt time' calculated in DefaultChainedExecutable.onExecuteStart method. The 'Interrupt time' value is not only added with the true 'Interrupt time' when the job scheduled after resumed, but also increased when subsequent sub tasks executed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)