On the Oozie server, install the necessary RPMs.
For RHEL/CentOS/Oracle Linux:
yum install oozie oozie-client
For SLES:
zypper install oozie oozie-client
For Ubuntu:
apt-get install oozie oozie-client
Optional - Enable the Oozie Web Console
Create a lib extension directory.
cd /usr/lib/oozie
Add the ExtJS library to the Oozie application.
For RHEL/CentOS/Oracle Linux:
yum install extjs-2.2-1 cp /usr/share/HDP-oozie/ext-2.2.zip libext/
For SLES:
zypper install extjs-2.2-1 cp /usr/share/HDP-oozie/ext-2.2.zip libext/
For Ubuntu:
apt-get install extjs cp /usr/share/HDP-oozie/ext-2.2.zip libext/
Add LZO JAR files.
cp /usr/lib/hadoop/lib/hadoop-lzo-*.jar libext/
Optional: Add database connector JAR files.
Execute the following command on the Oozie metastore machine:
yum install mysql-connector-java*
Add the downloaded JAR files.
/usr/lib/oozie/bin/oozie-setup.sh -hadoop 2.x /usr/lib/hadoop -extjs /usr/share/HDP-oozie/ext-2.2.zip -jars /usr/lib/hadoop/lib/hadoop-lzo-*.jar:/usr/share/java/mysql-connector-java.jar