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

Using EL function in job.properties #840

Open
chaosmail opened this issue Aug 26, 2016 · 0 comments
Open

Using EL function in job.properties #840

chaosmail opened this issue Aug 26, 2016 · 0 comments

Comments

@chaosmail
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant