Replies: 0
I have submitted a Hive query from Oozie that creates a hive table.
It failed with below error…
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=gv068284, access=EXECUTE, inode=”/user/hive”:hive:hdfs:drwx——
I was able to run same query from Hue successfully.
In the audit logs of Ranger I found that my user id is trying to access /user/hive directory only when query is run from Oozie but not touching this directory when query was run from Hue.
Please advice me if I have to do any configuration changes for running Hive queries from Oozie.