Quantcast
Channel: Hortonworks » All Topics
Viewing all articles
Browse latest Browse all 5121

Hive query failes when submitted from Oozie

$
0
0

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.


Viewing all articles
Browse latest Browse all 5121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>