MapR 5.0 Documentation : Install Oozie

The following procedures use the operating system package managers to download and install Oozie from the MapR Repository. To install the packages manually or for information about configuring the repository, refer to Preparing Packages and Repositories.

Oozie's client/server architecture requires you to install two packages, mapr-oozie and mapr-oozie-internal, on the client node and the server node. mapr-oozie is dependent on mapr-oozie-internal; mapr-oozie-internal will  be automatically installed by the package manager when you install mapr-oozie

 Execute the following commands as root or using sudo on a MapR cluster:

  1. Update the list of available packages:

    • Ubuntu: 

      apt-get update
    • SUSE:

       zypper refresh
    • RedHat / CentOS: 

      yum clean all
  2. Install mapr-oozie and mapr-oozie-internal:
    • RedHat / CentOS:

      yum install mapr-oozie 
    • SUSE:

      zypper install mapr-oozie
    • Ubuntu:

      apt-get install mapr-oozie 
  3. For non-secure clusters, add the following two properties to the core-site.xml (/opt/mapr/hadoop/hadoop-2.x.x/etc/hadoop/core-site.xml):

  4. Restart  the Warden deamon to reinitialize core cluster services:

    # sudo service mapr-warden restart 
  5. Export the Oozie URL to your environment with the following command:

    export OOZIE_URL='http://<Oozie_node>:11000/oozie'
  6. Check Oozie’s status with the following command:

    # /opt/mapr/oozie/oozie-<version>/bin/oozie admin -status
  7. If you are running Oozie jobs on YARN, perform the following steps:
    1. If high availability for the Resource Manager is configured, insert the following statement in the edit the file of each workflow:

    2. If high availability for the Resource Manager is not configured, provide the address of the node running the active ResourceManager and the port used for ResourceManager client RPCs (port 8032). For each workflow, edit the file and insert the following statement:

    3. Restart Oozie:

      maprcli node services -name oozie -action restart -nodes <space delimited list of nodes>

      If high availability for the Resource Manager is not configured and the ResourceManager fails, you must update the with the active ResourceManager.