1. Install the Oozie RPMs

Prerequisites

  1. You must have at least core Hadoop on your system. See Configure the Remote Repositories for more information.

  2. Verify the HDP repositories are available:

    yum list oozie

    The output should list at least one Oozie package similar to the following:

    oozie.noarch <version>

    If yum responds with "Error: No matching package to list" as shown below, yum cannot locate a matching RPM. This can happen if the repository hosting the HDP RPMs is unavailable, or has been disabled. Follow the instructions at Configure the Remote Repositories to configure either a public or private repository before proceeding.

    Error: No matching package to list.

Installation

  1. 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 and Debian:

      apt-get install oozie oozie-client
  2. 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 and Debian:

        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/
  3. Optional: Add database connector JAR files.

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

      yum install mysql-connector-java*

    2. 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 

loading table of contents...