Install Oozie
About this task
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
is automatically installed by
the package manager when you install mapr-oozie
.
Execute the
following commands as root
or using sudo
on a MapR
cluster:
Procedure
-
Update the list of available packages:
Ubuntu:
apt-get update
SUSE:
zypper refresh
RedHat/CentOS:
yum clean all
-
Install
mapr-oozie
andmapr-oozie-internal
:RedHat/CentOSyum install mapr-oozie
SUSEzypper install mapr-oozie
Ubuntuapt-get install mapr-oozie
-
For non-secure clusters, add the following two properties to
core-site.xml
located in/opt/mapr/hadoop/hadoop-2.x.x/etc/hadoop/core-site.xml
:<property> <name>hadoop.proxyuser.mapr.hosts</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.mapr.groups</name> <value>*</value> </property>
-
Restart the Warden deamon to reinitialize core cluster services:
# sudo service mapr-warden restart
-
Export the Oozie URL to your environment with the following command:
export OOZIE_URL='http://<Oozie_node>:11000/oozie'
-
Check Oozie’s status with the following command:
# /opt/mapr/oozie/oozie-<version>/bin/oozie admin -status
-
If you are running Oozie jobs on YARN, perform the following steps: