Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Global section in Oozie workflow can break other actions

Global section in Oozie workflow can break other actions

Contributor

Hi,

I have Oozie workflow contains <global> section and several <map-reduce> and <shell> actions. The global section contains some common properties for mr actions, mainly the oozie.launcher.action.main.class=com.msd.gic.middlegate.hiveimporter.HiveImportMapReduceMain.

However it looks that this global setting actually causes Oozie to run <shell> actions as <map-reduce> actions.

It seems like a bug in Oozie, has anyone seen this kind of behavior?

Thanks,

Pavel

1 REPLY 1
Highlighted

Re: Global section in Oozie workflow can break other actions

Super Guru

I think this is normal behavior. when we define global properties under workflow.xml, that value should get applied to all of the actions. feel free to correct me if my understanding is wrong

Don't have an account?
Coming from Hortonworks? Activate your account here