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?
Hi guys,
I wrote a custom EL function to load ENV variables
getEnv
, put it into theoozie/libext
directory and packaged the Oozie WAR. Then I added the function asoozie.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