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

Purshotam Shah commented on OOZIE-2572:
---------------------------------------

{quote}Do not like the fact that this is backward incompatible, but considering 
that durationDelay was never reported due to inconsistencies in timeunit, it is 
ok. Also reporting in milliseconds instead of minutes avoids loss of 
information. It would be better to keep everything consistent and I would 
suggest doing the same for start and end delays as well.
{quote}

durationDelay was not reported because there was a bug in the code, I don't 
think it;s inconsistencies in timeunit. When the job completes, the SLA 
DURATION was correct. Start, end and duration are reported in minutes ( except 
the duration is shown in ms, when job is running, which is a bug). Once we fix 
the code all will be consistent.

One of the other reason we should not change time unit to millisecond besides 
breaking backward incompatible ( which I think is very crucial), is that we can 
specify expected durations in minutes and if Oozie reports them in 
milliseconds, which will be inconsistent.

Even we can't specify the durations in milliseconds or second, the lowest 
timeunit we can use to specify duration is minutes. So it's perfectly okay to 
report them in minutes, and I guess this is what user will be expecting.


> SLA DURATION miss not shown when job is running for longer than expected time
> -----------------------------------------------------------------------------
>
>                 Key: OOZIE-2572
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2572
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Satish Subhashrao Saley
>            Assignee: Satish Subhashrao Saley
>             Fix For: 4.3.0
>
>         Attachments: OOZIE-2572-1.patch, OOZIE-2572-2.patch, 
> OOZIE-2572-3.patch, OOZIE-2572-4.patch, OOZIE-2572-5.patch, 
> OOZIE-2572-6.patch, OOZIE-2572-7.patch
>
>
> If job is running for beyond expected duration, Oozie UI is not slowing SLA 
> for duration miss.



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

Reply via email to