You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2018/02/05 21:01:00 UTC

[jira] [Commented] (OOZIE-3173) Coordinator job with frequency using cron syntax creates only one action in catchup mode

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

Hadoop QA commented on OOZIE-3173:
----------------------------------

PreCommit-OOZIE-Build started


> Coordinator job with frequency using cron syntax creates only one action in catchup mode
> ----------------------------------------------------------------------------------------
>
>                 Key: OOZIE-3173
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3173
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 5.0.0b1
>            Reporter: Andras Piros
>            Assignee: Andras Piros
>            Priority: Major
>             Fix For: 5.0.0
>
>         Attachments: OOZIE-3173.001.patch
>
>
> Using a coordinator with cron based {{frequency}}, when in catchup mode (job is still in {{PREP}}), {{startTime}} lies in the past, next materialize time lies also in the past), would create only one action, independent of {{throttle}} value.
> As many actions should be created in catchup mode, as many times {{frequency}} would fit in between {{startTime}}, {{Math.min(Math.min(now, endTime), startTime + frequency * throttle)}}.
> Some examples, {{frequency="0 * * * *"}}:
> * when between {{startTime}} and {{endTime}} there are 10 hours, both lie in the past, and {{throttle}} is {{1}} -> one action should be created
> * when between {{startTime}} and {{endTime}} there are 10 hours, both lie in the past, and {{throttle}} is {{3}} -> three actions should be created
> * when between {{startTime}} and {{endTime}} there are 10 hours, both lie in the past, and {{throttle}} is {{15}} -> ten actions should be created



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)