Reply
Highlighted
Contributor
Posts: 32
Registered: ‎03-17-2017

Create oozie workflows manually then import them to be executes

I have many oozie workflows that I need to create( over 50), using the UI in Hue is easy but it is very slow and repetitive.  Since the workflows are very similar, I can easly create one work flow use it as template, then using some scritpting I can repeat the process with the necessary changes and create the rest of the workflows.

How would I create an oozie worklow maually, then store it (where???) and make it ready to be used by a coordinator to execute it on a regular basis.

The workflow that I am trying to automate consists of the following:

1) execute a sqoop1 incremenat job

2) run sh script that would copy the output from the sqoop job from the incremenat dir to the data lake dir

 

Any help or pointers is appreciated.