You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Purshotam Shah (JIRA)" <ji...@apache.org> on 2016/08/19 15:45:20 UTC

[jira] [Commented] (OOZIE-2647) input-events is always ignored for the first action (WF) of the coordinator if the instance is set to ${coord:current(-1)}

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

Purshotam Shah commented on OOZIE-2647:
---------------------------------------

True, your start instance is {{startTime}} and job start time is also {{startTime}}. So for 1st action, current(-1) is nothing. You should move back your dataset start-instance with one dataset frequency.

> input-events is always ignored for the first action (WF) of the coordinator if the instance is set to ${coord:current(-1)}
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-2647
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2647
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 4.1.0
>         Environment: Oozie client build version: 4.1.0-cdh5.8.0
>            Reporter: Burak Gursoy
>         Attachments: 01-coordinator.xml, 01-job-state.txt, 01-schedule-minus-one.txt, 01-workflow.xml, 02-coordinator.xml, 02-job-state.txt, 02-schedule-zero.txt, 02-workflow.xml, job.properties
>
>
> Hi,
> We've noticed that if you have a definition like this in the coordinator.xml, then the first action is always released and the existence of the data dependency is never checked/verified. This only seems to happen with the value "-1" and nothing else ("0", any other positive or negative value seems to be fine).
> I currently don't have access to a more recent release, but I also couldn't locate a bug related to this in here.
> {code}
>   <input-events>
>     <data-in name="input-my-dataset" dataset="my-dataset">
>       <instance>${coord:current(-1)}</instance>
>     </data-in>
>   </input-events>
> {code}



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