In this section, we will see how to package the Oozie code and deploy it in production.
The code for this section is available in the folder <BOOK_CODE_HOME>/learn_oozie/ch09/packaging
.
Import the project in to your favorite editor (Eclipse/Intellij) as a Maven project.
The source code of Oozie gets deployed at two places:
On HDFS, where we copy all the Workflows, Coordinators, and so on.
On the local client machine from where we submit the jobs using the command line. All the
job.properties
files reside here.
If you see the code folder, we have a simple Maven project in which we have the following folder structure:
We can see that the code that goes to HDFS has been written in the hdfs
folder, and the code that has to be on the local client machine has been written in the client
folder. Under both of them, we have a folder called apps
. Under apps
, we have different apps representing Oozie Workflows. I have copied one of the applications...