Skip to content
This repository was archived by the owner on Jan 6, 2018. It is now read-only.
This repository was archived by the owner on Jan 6, 2018. It is now read-only.

Using EL function in job.properties #840

@chaosmail

Description

@chaosmail

Hi guys,

I wrote a custom EL function to load ENV variables getEnv, put it into the oozie/libext directory and packaged the Oozie WAR. Then I added the function as oozie.service.ELService.ext.functions.workflow key to the oozie-site configuration and restarted Oozie - everything fine so far.

However, when I now try to use the function in a properties file of a workflow, I get an error message Error: E0902 : E0902: Exception occured: [Incomplete HDFS URI, no host: hdfs://$%7BgetEnv('NAMENODE')%7D/user/$%7Buser.name%7D/hive_test/oozie].

Can anybody give me a hint what I am doing wrong or why this is not working as expected?

Best,
Christoph

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions