You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2011/09/10 05:15:13 UTC

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

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


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik resolved OOZIE-481.
------------------------------------

    Resolution: Fixed

> 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
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira