[
https://issues.apache.org/jira/browse/OOZIE-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399829#comment-15399829
]
Purshotam Shah commented on OOZIE-2572:
---------------------------------------
{code}
- long diff = (actualStartTS.getTime() -
expectedStartTS.getTime()) / (1000 * 60);
+ long diff = (actualStartTS.getTime() -
expectedStartTS.getTime());
if (diff > 0) {
events.put(EventStatus.START_MISS, diff);
}
{code}
Let's not change the diff from min to ms, this will break backward
compatibility. Some user might be using Webservice, and they might be doing
some computation with diff.
> 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
> Attachments: OOZIE-2572-1.patch, OOZIE-2572-2.patch,
> OOZIE-2572-3.patch, OOZIE-2572-4.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)