Prerequisites:
1. Java jdk 1.6+
2. Maven 3.3.9
3. Hadoop 2.x
Installing Oozie
4.3.0
Setting the environment variables:
Save and close the file
Running Oozie Build
Modify the pom.xml under /u01/hadoop/oozie-4.3.0 as below
Now run the below command
Oozie server setup
Add or modify hadoop core-site.xml under /u01/hadoop/hadoop-2.7.2/etc/hadoop
as below
Create a libext folder under the oozie directory
Move downloaded ext-2.2.zip to libext folder
Copy Hadoop libraries into libext folder of oozie
Preparing war file
Creating Oozie
Sharelib
Copy the hadoop core-site.xml file properties to core-site.xml
file in /u01/hadoop/oozie-4.3.0/distro/target/oozie-4.3.0-distro/oozie-4.3.0/conf/hadoop-conf
Copy mapred-site.xml and yarn-site.xml files to /u01/hadoop/oozie-4.3.0/distro/target/oozie-4.3.0-distro/oozie-4.3.0/conf/hadoop-conf
Add or modify oozie-site.xml file under /u01/hadoop/oozie-4.3.0/distro/target/oozie-4.3.0-distro/oozie-4.3.0/conf
as below
Now run the below command
Creating Oozie
database
Setting environment
variables for Oozie
Starting Oozie daemon
Run the below command to start Oozie daemon
Run the below command to run as a process
Setting up client
node for Oozie
Starting Oozie client node
Oozie web console url
Checking the status
of the Oozie process
Checking the what sharelib is being used by oozie while the
daemon is running
Running the example
Oozie jobs and testing the installation
We see different example folders such as
pig,hive,mapreduce etc..,
Taking mapreduce to explain below steps.
In the job.properties files of each folder,
change the name node port and job tracker port as below
save and close the file
Copying the examples folder to hdfs
Run the below command to check the status of the job
To
check the log run the below command