You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org> on 2012/03/02 23:38:40 UTC

[jira] [Updated] (OOZIE-481) OOZIE-64: Coordinator EL function actualTime() is not working

     [ https://issues.apache.org/jira/browse/OOZIE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated OOZIE-481:
-------------------------------------

    Fix Version/s: pre-Apache
    
> OOZIE-64: Coordinator EL function actualTime() is not working
> -------------------------------------------------------------
>
>                 Key: OOZIE-481
>                 URL: https://issues.apache.org/jira/browse/OOZIE-481
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Angelo K. Huang
>            Assignee: Angelo K. Huang
>             Fix For: pre-Apache
>
>
> actualTime() in coordinator is not working and throws the exception during the submission.
> $ oozie job -config uniqueUsersCountDaily/schedule.properties -run
> Error: E1004 : E1004: Expression language evaluation error [Unable to evaluate :${coord:actualTime()}: ], java.lang.Exception: Unable to evaluate :${coord:actualTime()}:
> $ cat coordinator.xml 
> <coordinator-app xmlns="uri:oozie:coordinator:0.1" xmlns:sla="uri:oozie:sla:0.1" name="sla_coord" frequency="60" start="2009-03-06T010:00Z" end="2009-03-06T11:00Z" timezone="America/Los_Angeles">
>   <controls>
>     <timeout>10</timeout>
>     <concurrency>2</concurrency>
>     <execution>LIFO</execution>
>   </controls>
>   <datasets> </datasets>
>   <action>
>     <workflow>
>       <app-path>hdfs://localhost:9000/tmp/kamrul/workflows/sla-map-reduce</app-path>
>       <configuration>
> 	 <property>
> 		<name>actualTime</name>
> 		<value>${coord:actualTime()}</value>
>          </property>
>       </configuration>
>     </workflow>
>   </action>
> </coordinator-app>

--
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