In spite of the fact that, Oozie Installation Steps have been entered down quite intelligibly and makes one hallucinate it as a matter of a few minutes, but as per my experience, its not that easy.. So, to somehow make it easy for you, one of my previous post is a jest of all those docs that are meant to help you install Oozie. Still here in this post, I am providing the solution to the 5 most common errors that you might have unfortunately encountered.
Error 1 :
Cannot create /var/run/oozie/oozie.pid: Directory nonexistent
Changing the permissions of the run folder as in
sudo chmod -cR 777 ./run
sudo chown root:root -R /var/run/
Error 2 :
Add the following entry to your hadoop setup's conf/hdfs-site.xml
Error 3 :
Use "hadoop dfsadmin -safemode leave" command to make the namenode leave safe mode forcefully.
Or use "hadoop dfsadmin -safemode wait" to block till NN leaves by itself.
If you need to get your cluster up and running quickly, you can manipulate the parameter dfs.namenode.threshold.percent.
If you set it to 0, NN will not enter safe mode.
Error 4 :
Check whether the port nos of jobtracker and namenode are correctly set in the job.properties file of the application you are running.
Error 5 :
localpath_to_hadoop_data_store/dfs/data/current/VERSION and localpath_to_hadoop_data_store/dfs/name/current/VERSION should have the same ids , if they are not change that of the datanode(s) .
If these included one of the points where you were stuck up, I hope to have helped you. All the very best for Oozie ...