Created 10-08-2018 01:14 AM
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 ?
Created 10-08-2018 06:33 AM
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