You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by jun aoki <ju...@gmail.com> on 2013/01/21 10:11:04 UTC
Review Request: Support default or EL function for coordinator start time
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9040/
-----------------------------------------------------------
Review request for oozie.
Description
-------
The start attribute for coordinator xml supports ${coord:now()} EL function.
e.g.
<coordinator-app name=\"${appName}-foo\" frequency=\"${coord:days(1)}\" start=\"${coord:now()}\" "
+ "end=\"2015-02-03T23:59Z\" timezone=\"UTC\"
Open question is, Mohammad mentioned the options in Description of https://issues.apache.org/jira/browse/OOZIE-778
>> 1. By default, current time/NOW will be assumed, if it is not assigned.
>> 2. Provide am EL function to define the current(any) time in specific format.
I'm open to suggestions. Let me know!
This addresses bug oozie-778.
https://issues.apache.org/jira/browse/oozie-778
Diffs
-----
http://svn.apache.org/repos/asf/oozie/trunk/core/src/main/java/org/apache/oozie/command/coord/CoordSubmitXCommand.java 1435495
http://svn.apache.org/repos/asf/oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java 1435495
http://svn.apache.org/repos/asf/oozie/trunk/core/src/main/resources/oozie-default.xml 1435495
http://svn.apache.org/repos/asf/oozie/trunk/core/src/test/java/org/apache/oozie/command/coord/TestCoordSubmitXCommand.java 1435495
Diff: https://reviews.apache.org/r/9040/diff/
Testing
-------
Thanks,
jun aoki