1. Install the Oozie RPMs

  1. On Oozie server, install the necessary RPMs.

    yum install oozie extjs-2.2-1
  2. 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
  3. Add LZO JAR files.

    /usr/lib/oozie/bin/oozie-setup.sh -hadoop 0.20.200 /usr/lib/hadoop -extjs /usr/share/HDP-oozie/ext-2.2.zip -jars /usr/lib/hadoop/lib/hadoop-lzo-0.5.0.jar 
  4. Optional: Download and add the database connector JAR.

    • For MySQL:

      1. Execute the following command on the Oozie metastore machine:

        • For RHEL/CentOS:

          yum install mysql-connector-java

        • For SLES:

          zypper install mysql-connector-java
      2. Execute the following command on your Oozie metastore machine:

        /usr/lib/oozie/bin/oozie-setup.sh -hadoop 0.20.200 /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
      3. Ensure that the JAR file has appropriate permissions.

    • For Oracle: Note that the following instructions are for OJDBC driver for Oracle 11g.

      1. Download the Oracle JDBC (OJDBC) driver from here.

      2. Copy the JAR file to /usr/lib/oozie/libtools/.

      3. Ensure that the JAR file has appropriate permissions.

    • For PostgreSQL:

      1. Execute the following command on the Oozie metastore machine:

        • For RHEL/CentOS:

          yum install postgresql-jdbc
        • For SLES:

          zypper install postgresql-jdbc
      2. Copy the downloaded JAR file to $OOZIE_HOME/lib directory.

        $OOZIE_HOME is by default set to /usr/lib/oozie/.

      3. Ensure that the JAR file has appropriate permissions.


loading table of contents...