[
https://issues.apache.org/jira/browse/OOZIE-675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224360#comment-13224360
]
[email protected] commented on OOZIE-675:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4222/
-----------------------------------------------------------
Review request for oozie.
Summary
-------
checkMultipleTimeInstances doesn't work for EL extensions. EX:
${coord:formatTime(coord:current(0),'yyyy-MM-dd')}
This addresses bug OOZIE-675.
https://issues.apache.org/jira/browse/OOZIE-675
Diffs
-----
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordSubmitXCommand.java
1297367
trunk/core/src/main/java/org/apache/oozie/util/ELEvaluator.java 1297367
trunk/core/src/test/java/org/apache/oozie/command/coord/TestCoordSubmitXCommand.java
1297367
trunk/core/src/test/resources/coord-multiple-output-instance4.xml
PRE-CREATION
Diff: https://reviews.apache.org/r/4222/diff
Testing
-------
New test case added to TestCoordSubmitXCommand.java for verifying the changes
Thanks,
Srikanth
> checkMultipleTimeInstances doesn't work for EL extensions
> ---------------------------------------------------------
>
> Key: OOZIE-675
> URL: https://issues.apache.org/jira/browse/OOZIE-675
> Project: Oozie
> Issue Type: Bug
> Reporter: Shwetha G S
> Labels: EL, extensions
>
> To guard against specifying multiple instances in instance tag,
> CoordSubmitXCommand.checkMultipleTimeInstances checks for ',' in instance
> tag. This breaks for EL extensions. We have EL extension today(0,0) which
> maps to start day of nominal time. today(0,0) resolves to a single instance
> and presence of ',' doesn't imply that it resolves to multiple instances
> Can you please fix this
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira