Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-351

Oozie EL extension not used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.5
    • None
    • oozie
    • None

    Description

      Even adding the falcon-oozie-el-extension*.jar file in oozie/libext folder (and update the war using bin/oozie-setup prepare-war and sharedlibs), when I schedule a process containing EL like now(0,-5), the Oozie bundle job fails:

      org.apache.oozie.coord.CoordinatorJobException: E1004: Expression language evaluation error, Unable to evaluate :${now(0,-5)}:
      
      	at org.apache.oozie.command.coord.CoordSubmitXCommand.resolveTagContents(CoordSubmitXCommand.java:889)
      	at org.apache.oozie.command.coord.CoordSubmitXCommand.resolveIOEvents(CoordSubmitXCommand.java:786)
      	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)
      ...
      

      It looks like the Falcon Oozie EL extension is not loaded by Oozie.

      Maybe it's just an environment/installation issue on my platform, but at least, we have to document it.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: