On Oozie server, install the necessary RPMs.
yum install oozie extjs-2.2-1
Add the ExtJS library to the Oozie application.
/usr/lib/oozie/bin/oozie-setup.sh -hadoop 0.20.200 /usr/lib/hadoop -extjs /usr/share/HDP-oozie/ext-2.2.zip
Add LZO 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-0.5.0.jar
Optional: Download and add the database connector JAR.
For MySQL:
Execute the following command on the Oozie metastore machine:
For RHEL/CentOS:
yum install mysql-connector-java
For SLES:
zypper install mysql-connector-java
Execute the following command on your Oozie metastore machine:
/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
Ensure 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/
.Ensure 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/
.Ensure that the JAR file has appropriate permissions.