hadoop - Oozie coordinator scheduling using cron expression giving error -
i have scheduled coordinator using cron expression frequency = "20 3 * * 2-4" gives error. oozie coordinator logs "java.lang.illegalargumentexception" : paramter [frequency]=[20 3 * * 2-4] must integer . parsing error input string : "20 3 * * 2-4"
hdp version : 2.5.3 oozie client build version : 4.2.0.2.5.3.0-37
.. ..
you requesting oozie apply xml schema coordinator... in version 0.2 of schema.
the documentation hints cron syntax worked schema 0.2 i'm pretty sure cron scheduling introduced in oozie v4.0 (and documented in v4.1) -- , since oozie v4.0 introduced schema 0.4 believe documentation wrong.
bottom line: requesting xmlns="uri:oozie:coordinator:0.4"
should allow oozie parse cron schedule correctly.
Comments
Post a Comment