On the Oozie server, install the necessary RPM.
yum install oozie
Optional - Enable the Oozie web console:
Add the ExtJS library to the Oozie web application.
yum install extjs-2.2-1
Rebuild the Oozie WAR file to include the ExtJS library.
/usr/lib/oozie/bin/oozie-setup.sh -hadoop 0.20.200 /usr/lib/hadoop -extjs /usr/share/HDP-oozie/ext-2.2.zip
Rebuild the Oozie WAR file to include the LZO JAR file.
/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-0.5.0.jar
Optional - Download and add the database connector JAR.
For MySQL:
Execute the following command on the Oozie server machine:
For RHEL/CentOS:
yum install mysql-connector-java
For SLES:
zypper install mysql-connector-java
Execute the following command on your Oozie server machine to include the MySQL Connector JAR file:
/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-0.5.0.jar:/usr/share/java/mysql-connector-java.jar
Verify that the JAR file has appropriate permissions.
For Oracle: Note that the following instructions are for OJDBC driver for Oracle 11g.
Download the Oracle JDBC (OJDBC) driver from here.
Copy the JAR file to
/usr/lib/oozie/libtools/
.Verify that the JAR file has appropriate permissions.
For PostgreSQL:
Execute the following command on the Oozie metastore machine:
For RHEL/CentOS:
yum install postgresql-jdbc
For SLES:
zypper install postgresql-jdbc
Copy the downloaded JAR file to
directory.$OOZIE_HOME
/lib$OOZIE_HOME
is by default set to/usr/lib/oozie/
.Verify that the JAR file has appropriate permissions.