Using Oozie 4.4.0 with Hadoop 2.2

First download the 4.0.0 version from https://oozie.apache.org/, and then unpackage it. Next run the following command to change the Hadoop version being targeted:
cd oozie-4.0.0/
find . -name pom.xml | xargs sed -ri 's/(2.2.0\-SNAPSHOT)/2.2.0/'
Now all you need to do is target the hadoop-2 profile in Maven and you’ll be all set:
mvn -DskipTests=true -P hadoop-2 clean package assembly:single source






