Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

can we force oozie to run on specific node?


I want to schedule a sqoop job shell script using oozie. And this shell script is supposed to run on the single node only. I want to force the oozie to run on only on specific node. Is that possible Does oozie supports this ?



Hi @Sai Krishna Makineni

There isn't really any option for oozie to run against a specific host, the only option you would have in Oozie to execute on a specific host is with the SSH Action Extension;

The ssh action starts a shell command on a remote machine as a remote secure shell in background. The workflow job will wait until the remote shell command completes before continuing to the next action.
The shell command must be present in the remote machine and it must be available for execution via the command path.

Examples and more info: