You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by Siddharth Tiwari <si...@live.com> on 2015/08/05 21:19:44 UTC
issues with Oozie
hi teamAny guidance around the following error. how shall I fix it. Using Apache Oozie 4.1.0
Caused by: org.apache.falcon.FalconException: E1004 : E1004: Expression language evaluation error, Unable to evaluate :${now(0,-5)}: at org.apache.falcon.workflow.engine.OozieWorkflowEngine.dryRunInternal(OozieWorkflowEngine.java:223) at org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:171) at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:93)
*------------------------*
Cheers !!!
Siddharth Tiwari
Have a refreshing day !!!
"Every duty is holy, and devotion to duty is the highest form of worship of God.”
"Maybe other people will try to limit me but I don't limit myself"
RE: issues with Oozie
Posted by Siddharth Tiwari <si...@live.com>.
Awesome !! thanks Sandeepthat fixed the issue. I can see the job executing in Oozie. The problem is I cannot see the lineage in Apache falcon UI. Is there anything done on the config side to see the lineage info ?
*------------------------*
Cheers !!!
Siddharth Tiwari
Have a refreshing day !!!
"Every duty is holy, and devotion to duty is the highest form of worship of God.”
"Maybe other people will try to limit me but I don't limit myself"
> Date: Wed, 5 Aug 2015 19:28:23 +0000
> Subject: Re: issues with Oozie
> From: sandysmdl@gmail.com
> To: dev@falcon.apache.org
>
> Hi Siddharth
> Can you give more details on where and how you are using now?
> If you are using now(0,-5) in workflow directly, now() is a falcon function
> and not an oozie function.
>
> Define a property variable as below in your process
> <property name="timestamp" value="${formatTime(dateOffset(instanceTime(),
> -5, 'MINUTE'),'yyyy-MM-dd-hh-mm')}"/>
> and use it in your workflow.
>
> Thanks,
> -sandeep
>
>
>
> On Wed, Aug 5, 2015 at 7:19 PM, Siddharth Tiwari <si...@live.com>
> wrote:
>
> > hi teamAny guidance around the following error. how shall I fix it. Using
> > Apache Oozie 4.1.0
> > Caused by: org.apache.falcon.FalconException: E1004 : E1004: Expression
> > language evaluation error, Unable to evaluate :${now(0,-5)}: at
> > org.apache.falcon.workflow.engine.OozieWorkflowEngine.dryRunInternal(OozieWorkflowEngine.java:223)
> > at
> > org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:171)
> > at
> > org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:93)
> >
> >
> > *------------------------*
> >
> > Cheers !!!
> >
> > Siddharth Tiwari
> >
> > Have a refreshing day !!!
> > "Every duty is holy, and devotion to duty is the highest form of worship
> > of God.”
> >
> > "Maybe other people will try to limit me but I don't limit myself"
> >
Re: issues with Oozie
Posted by Sandeep Samudrala <sa...@gmail.com>.
Hi Siddharth
Can you give more details on where and how you are using now?
If you are using now(0,-5) in workflow directly, now() is a falcon function
and not an oozie function.
Define a property variable as below in your process
<property name="timestamp" value="${formatTime(dateOffset(instanceTime(),
-5, 'MINUTE'),'yyyy-MM-dd-hh-mm')}"/>
and use it in your workflow.
Thanks,
-sandeep
On Wed, Aug 5, 2015 at 7:19 PM, Siddharth Tiwari <si...@live.com>
wrote:
> hi teamAny guidance around the following error. how shall I fix it. Using
> Apache Oozie 4.1.0
> Caused by: org.apache.falcon.FalconException: E1004 : E1004: Expression
> language evaluation error, Unable to evaluate :${now(0,-5)}: at
> org.apache.falcon.workflow.engine.OozieWorkflowEngine.dryRunInternal(OozieWorkflowEngine.java:223)
> at
> org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:171)
> at
> org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:93)
>
>
> *------------------------*
>
> Cheers !!!
>
> Siddharth Tiwari
>
> Have a refreshing day !!!
> "Every duty is holy, and devotion to duty is the highest form of worship
> of God.”
>
> "Maybe other people will try to limit me but I don't limit myself"
>