Member since
11-28-2018
2
Posts
0
Kudos Received
0
Solutions
11-29-2018
02:03 PM
I had the same issue, because I put the frequency in the dataset as a cron, we can't actually do that. Here is my example : <coordinator-app name="weekdays-at-two-am"
frequency="0 2 * * 2-6"
start="${start} "
end="${end}"
timezone="Europe/Paris"
xmlns="uri:oozie:coordinator:0.4">
<datasets>
<dataset name="my_dataset_name"
frequency="${coord:days(1)}"
initial-instance="2017-12-28T02:00+0100"
timezone="Europe/Paris">
<uri-template>${my_path}/${YEAR}${MONTH}${DAY}</uri-template>
<done-flag>my_flag</done-flag>
</dataset>
</datasets>
<input-events>
<data-in name="log_input_name" dataset="my_dataset_name">
<instance>${coord:current(0)}</instance>
</data-in>
</input-events>
my coordinator is lunched with the cron at first (line 2), but it verifies the second condition which looking every day (line9) for the flag of the current day (line 18)
... View more