Support Questions
Find answers, ask questions, and share your expertise

can we force oozie to run on specific node?

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 ?

1 REPLY 1

Re: can we force oozie to run on specific node?

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: https://oozie.apache.org/docs/4.2.0/DG_SshActionExtension.html