The Oozie Service

Cloudera Manager installs the Oozie server as part of the CDH installation. There are additional steps you need to take to enable the Oozie Web console, to enable SSL communication with Oozie, and to configure an external database for use with Oozie (Cloudera Manager configures Derby by default).

Enabling the Oozie Web Console

You can enable Oozie's web console as a means of working with Cloudera Manager. To enable the Oozie Web Console

  1. Download ext-2.2. Extract the contents of the file to /var/lib/oozie/libext.
  2. Connect to the Cloudera Manager Admin Console. Click the Configuration tab for the Oozie service you are configuring and enable Enable Oozie server web console.
  3. Ensure sure the Oozie user has read/write permissions on the directory /var/lib/oozie/oozie-server/webapps. For example, you might review the permissions as follows:
    $ ls -l /var/lib/oozie/oozie-server/
    total 12
    drwxr-xr-x 3 oozie oozie 4096 Jul 13 05:42 conf
    dr--r--r-- 4 oozie oozie 4096 Jul 13 13:15 webapps
    drwxr-xr-x 3 oozie oozie 4096 Jul 13 05:42 work
  4. If the permissions are set appropriately, continue to the next step. If permissions must be modified, you could do so as follows:
    $ chmod 755 /var/lib/oozie/oozie-server/webapps
    $ ls -l /var/lib/oozie/oozie-server/
    drwxr-xr-x 3 oozie oozie 4096 Jul 13 05:42 conf
    drwxr-xr-x 4 oozie oozie 4096 Jul 13 13:15 webapps
    drwxr-xr-x 3 oozie oozie 4096 Jul 13 05:42 work

    The Oozie web console is enabled the next time the Oozie service is started or restarted.

Enabling SSL for Oozie

You can enable SSL for communication with the Oozie server by setting the "Use SSL" property in your Oozie Security configuration, and adding the keystore file location and password.

  1. From the Services menu. select the Oozie service.
  2. From the Configuration menu, select View and Edit.
  3. Under the Service-Wide > Security category, check Use SSL and save your changes.
  4. Under the Oozie Server (Default) > Security category, type the path to the keystore file in the Oozie SSL Keystore File field, type the password into the Oozie SSL Keystore Password field, and save your changes.
  5. Restart the Oozie service.

Using an External Database for Oozie

By default, Cloudera Manager uses Derby for Oozie's database. If necessary, you can configure Oozie to use an external database.

Oozie supports the following databases:

  • MySQL 5.0 and 5.5
  • PostgreSQL 8.4 and 9.0
  • Oracle 11g

To configure Cloudera Manager to use an external database as the database for Oozie:

  1. In Cloudera Manager, navigate to the Services page and click the Oozie service instance.
  2. Select Configuration > View and Edit.
  3. Expand Oozie Server (Default) and click Database.
  4. Specify the settings for Oozie Server database type, Oozie Server database name, Oozie Server database host, Oozie Server database user, and Oozie Server database password.
  Note:

If you are using MySQL or Oracle, ensure that mysql-connector-java.jar or ojdbc6-11.2.0.3.0.jar respectively are copied or symlinked into the /var/lib/oozie/ directory.