hadoop - Oozie coordinator start date set to actual date -
is there way set start date of coordinator actual date? everytime want run coordinator have manually set start date of coordinator job:
<coordinator-app name="my_app" frequency="60" start="2014-11-27t05:00z" end="2015-01-01t06:00z" timezone="utc" xmlns="uri:oozie:coordinator:0.1">
i want use kind of varaible set date date run coordinator:
<coordinator-app name="my_app" frequency="60" start="${actualtime}" end="2015-01-01t06:00z" timezone="utc" xmlns="uri:oozie:coordinator:0.1">
how can set actualtime sysdate? tried use el function timestamp() not works or maybe use wrong. maybe there way set in .properties file variable?
one idea pass sysdate shell script coordinator job thru command line.
see if answer similar question works : oozie coordinator sysdate start time
Comments
Post a Comment