Created 07-20-2017 04:11 PM
Hello all,
I am getting core-site.xml (Permission denied) below when using Oozie-Spark workflow.
I have access to this directory /opt/data/yarn/local/usercache/oozie/appcache
drwxrwxrwx 2 yarn hadoop 10 Jul 20 11:30 appcache
Could anyone please help me why I am getting the Permission denied?
I really appreciated.
Thanks
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SparkMain], main() threw exception, /opt/data/yarn/local/usercache/oozie/appcache/application_1500495991334_1431/container_e04_1500495991334_1431_01_000002/core-site.xml (Permission denied)
java.io.FileNotFoundException: /opt/data/yarn/local/usercache/oozie/appcache/application_1500495991334_1431/container_e04_1500495991334_1431_01_000002/core-site.xml (Permission denied)
Created 07-21-2017 05:43 AM
As the error itself says, the oozie user is not able to access the file most probably.
So, check the permission on the entire path to the file, not just the very last folder in the file path.