How to pass Oozie configuration to workflow actions, such as Hive? How to pass Oozie configuration to workflow actions, such as Hive? hadoop hadoop

How to pass Oozie configuration to workflow actions, such as Hive?


You should be able to access the variable data using <job-tracker>${wf:conf('oozie.actions.default.job-tracker')}</job-tracker>


If you don't want to define the name-node and job-tracker in every and each of your workflows, you only have to add the following properties in the Oozie service configuration (oozie-site):

oozie.actions.default.name-node=<name-node-value>oozie.actions.default.job-tracker=<job-tracker-value>

It worked for me using Oozie 4.2.0.