Created 04-03-2018 02:32 PM
I am trying to create an external table hive , i get below error.I have defined the policy in ranger. Hive policy i have given all permissions to the user for the database(all tables & all columns).
I am conecting to hive using beeline
Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [hdp_ingest] does not have [ALL] privilege on [hdfs://hdpmaster1.m.com:8020/datalake/first/landing/tbltest] (state=42000,code=40000)
Created 04-03-2018 08:02 PM
Please refer to this link which will give all the information.
https://cwiki.apache.org/confluence/display/RANGER/Hive+Commands+to+Ranger+Permission+Mapping
Created 04-03-2018 08:10 PM
I have already given all persmission in Ranger
Created 04-04-2018 04:53 PM
This is resolved. Because hive is not configured with impersonation, table creation uses hive user to create tables and landing directories in HDFS. added hive in Ranger policy
Created 04-05-2018 01:42 PM
Glad your problem is fixed