[
https://issues.apache.org/jira/browse/OOZIE-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15443891#comment-15443891
]
Burak Gursoy commented on OOZIE-2647:
-------------------------------------
Alright that seems to be the case indeed (after doing a couple of more tests).
However, this is still by-passing the data set definition and not-DWIM. The job
shouldn't be released on non-existing data sets. This behavior is buggy as far
as I can tell (and way too confusing).
> 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)