Created 11-08-2017 08:49 AM
while running shell script through oozie getting error org.apache.oozie.action.ActionExecutorException: Could not locate Oozie sharelib , what could be reason for the above error ?
Created 11-08-2017 08:54 AM
Can you please check if the Oozie sharelibs have been correctly extracted and present in HDFS location by running below command as oozie user and provide the output?
# oozie admin -oozie http://<OOZIE_HOSR>:11000/oozie -shareliblist # su hdfs -c "hdfs dfs -lsr /user/oozie/share/lib
Also have you tried restarting Oozie?
Created 11-08-2017 08:58 AM
Also can you please confirm if you have setup the Oozie Shared Library properly as documented in the following link:
# /usr/hdp/current/oozie-server/bin/oozie-setup.sh sharelib create -fs hdfs://$NameNodeHostName:8020 -locallib /usr/hdp/current/oozie-server/oozie-sharelib.tar.gz # oozie admin –oozie http://oozie_server:11000/oozie -sharelibupdate
Created 11-08-2017 09:13 AM
followed same approach , i am submitting job as yarn user ? is there something related to permission
Created 11-08-2017 09:17 AM
Are you getting any Permission error as well?
If yes then please refer to the following article to know how to run Oozie Job as Yarn user: https://community.hortonworks.com/articles/26593/permission-denied-useryarn-accesswrite-oozie-shell....
Created 11-08-2017 09:28 AM
no there is no permission error in the log
Created 11-08-2017 09:40 AM
Please check if your shared lib path is correct according to the user name "yarn"
If username is "yarn" then please put the shared lib in the correct HDFS directory as mentioned above.
Created 11-09-2017 12:10 PM
I solved this problem as follows:
First i create a sharelib, after i just update sharelib and works
usr/hdp/current/oozie-server/bin/oozie-setup.sh sharelib create -fs hdfs://ambari.4linux.com.br:8020 -locallib /usr/hdp/current/oozie-server/oozie-sharelib.tar.gz oozie admin -oozie http://ambari.4linux.com.br:11000/oozie -sharelibupdate oozie admin -oozie http://ambari.4linux.com.br:11000/oozie -shareliblist