I think I got the answer from previous post:

Re: Falcon EL extensions not registered against Oozie

  
             
Re: Falcon EL extensions not registered against Oozie
Hi Peter, If you are using Oozie from Apache, you need to set up Oozie with few
things before Falcon can orchestrate workflows in Oozie.   
View on www.mail-archive.com Preview by Yahoo  
  

Thanks


On Wednesday, July 2, 2014 7:37 PM, Venkat R <[email protected]> 
wrote:
 


Falcon submitted a Oozie bundle for the demo example, but the Oozie bundle 
throws the following exception.
This used to work fine in Sandbox VM. The Falcon code is from trunk and Oozie 
version is 4.0.1

Appreciate any pointers.

Thanks
Venkat


2014-07-03 02:01:55,903  WARN CoordSubmitXCommand:542 - USER[-] GROUP[-] 
TOKEN[-] APP[-] JOB[0000036-140702022301989-oozie-oozi-B] ACTION[-] ERROR:  
org.apache.oozie.coord.CoordinatorJobException: E1004: Expression language 
evaluation error, Unable to evaluate :${now(0,0)}:

at 
org.apache.oozie.command.coord.CoordSubmitXCommand.resolveTagContents(CoordSubmitXCommand.java:889)
at 
org.apache.oozie.command.coord.CoordSubmitXCommand.resolveIOEvents(CoordSubmitXCommand.java:804)
at 
org.apache.oozie.command.coord.CoordSubmitXCommand.resolveInitial(CoordSubmitXCommand.java:714)
at 
org.apache.oozie.command.coord.CoordSubmitXCommand.basicResolveAndIncludeDS(CoordSubmitXCommand.java:551)
at 
org.apache.oozie.command.coord.CoordSubmitXCommand.submit(CoordSubmitXCommand.java:219)
at 
org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:81)
at 
org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:29)
at org.apache.oozie.command.XCommand.call(XCommand.java:280)
at 
org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.Exception: Unable to evaluate :${now(0,0)}:

at 
org.apache.oozie.coord.CoordELFunctions.evalAndWrap(CoordELFunctions.java:691)
at 
org.apache.oozie.command.coord.CoordSubmitXCommand.resolveTagContents(CoordSubmitXCommand.java:885)
... 11 more
Caused by: javax.servlet.jsp.el.ELException: No function is mapped to the name 
"now"
at org.apache.commons.el.Logger.logError(Logger.java:481)
at org.apache.commons.el.Logger.logError(Logger.java:498)
at org.apache.commons.el.Logger.logError(Logger.java:525)
at 
org.apache.commons.el.FunctionInvocation.evaluate(FunctionInvocation.java:150)
at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
at org.apache.oozie.util.ELEvaluator.evaluate(ELEvaluator.java:203)
at 
org.apache.oozie.coord.CoordELFunctions.evalAndWrap(CoordELFunctions.java:682)

Reply via email to