[ 
https://issues.apache.org/jira/browse/OOZIE-675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203302#comment-13203302
 ] 

Shwetha G S commented on OOZIE-675:
-----------------------------------

Yes, coord:formatTime is not valid in instance tag. Also, it can't be used for 
today as today also supports parameters of hr and min which are added to  start 
day. For example, today(2,0) is 2nd hour of today.

Also, with EL extensions, users can define expressions in any way. Checking for 
',' doesn't looks like the right way to check for multiple instances.

This issue wasn't there in 3.0.2. We are planning to use the new release 3.1.3. 
Can you please fix this in 3.1.3
                
> 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

        

Reply via email to