Oozie Share Lib does not exist error


In this post we will discuss about one of common/frequent error message faced by many oozie beginners due to incorrect/incomplete oozie setup. Oozie Share Lib does not exist error is received if oozie sharelib is not installed properly.

Error Scenario:

java.io.FileNotFoundException: File /user/user/share/lib does not exist

This error message we will get when we submit any oozie job with below property set to true in job.properties file

and if you have missed providing the share lib path in job.properties file explicitly with below command.

then we might get below error messages and jobs will fail.