Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Oozie Coordinator EL function error

Highlighted

Oozie Coordinator EL function error

Explorer
org.apache.oozie.coord.CoordinatorJobException: E1004: Expression language evaluation error, Unable to evaluate :${coord:current(-2)}:

	at org.apache.oozie.command.coord.CoordSubmitXCommand.resolveTagContents(CoordSubmitXCommand.java:1006)
	at org.apache.oozie.command.coord.CoordSubmitXCommand.resolveInitial(CoordSubmitXCommand.java:816)
	at org.apache.oozie.command.coord.CoordSubmitXCommand.basicResolveAndIncludeDS(CoordSubmitXCommand.java:607)
	at org.apache.oozie.command.coord.CoordSubmitXCommand.submitJob(CoordSubmitXCommand.java:230)
	at org.apache.oozie.command.coord.CoordSubmitXCommand.submit(CoordSubmitXCommand.java:204)
	at org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:82)
	at org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:30)
	at org.apache.oozie.command.XCommand.call(XCommand.java:286)
	at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:332)
	at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:261)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:179)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Exception: Unable to evaluate :${coord:current(-2)}:

	at org.apache.oozie.coord.CoordELFunctions.evalAndWrap(CoordELFunctions.java:743)
	at org.apache.oozie.command.coord.CoordSubmitXCommand.resolveTagContents(CoordSubmitXCommand.java:1002)
	... 14 more
Caused by: javax.servlet.jsp.el.ELException: No function is mapped to the name "coord:current"
	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:204)
	at org.apache.oozie.coord.CoordELFunctions.evalAndWrap(CoordELFunctions.java:734)
	... 15 more
2017-02-10 16:00:02,543 INFO org.apache.oozie.command.bundle.BundleStatusUpdateXCommand: SERVER[mac99] USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000048-170208193316093-oozie-oozi-B] ACTION[] Updated Bundle action [0000048-170208193316093-oozie-oozi-B_C_JSON_PCM_Log_RunningApplicationsData], status = [FAILED], pending = [0]
2017-02-10 16:00:02,544 ERROR org.apache.oozie.command.coord.CoordSubmitXCommand: SERVER[mac99] USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000048-170208193316093-oozie-oozi-B] ACTION[] XException, 
org.apache.oozie.command.CommandException: E1004: Expression language evaluation error, Unable to evaluate :${coord:current(-2)}: