Support Questions
Find answers, ask questions, and share your expertise

HiveAccessControlException Error while trying to Insert data in the table

HiveAccessControlException Error while trying to Insert data in the table

Explorer

Hello !

I am trying to insert some data into my table: sandbox.table_lookup_1 but, I am getting this below error.

Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: Principal [name=hive, type=USER] does not have following privileges for operation QUERY [[INSERT] on Object [type=TABLE_OR_VIEW, name=sandbox.table_lookup_1, action=INSERT]] (state=42000,code=40000)

My sandbox is Kerborized and Hive > Configs > Settings > In Security it is set to "SQLStdAuth".

Thank you

Sayed Anisul Hoque