Created on 07-20-2017 11:28 PM - edited 09-16-2022 04:57 AM
Hi Friends,
I am getting below error:
> show tables;
FAILED: SemanticException MetaException(message:java.security.AccessControlException: Permission denied: user=user, access=READ, inode="/apps/hive/warehouse":hive:hadoop:drwxrwx---
Please share the solution asap.
Thanks,
Ravikumar
Created 07-20-2017 11:40 PM
Open up the Hive warehouse directory. Run hdfs dfs -chmod -R 1776 /user/hive/warehouse, to make it readable by all, or hdfs dfs -chmod 1777 to open it for both read and write.
Created 07-21-2017 01:44 AM
Created 07-21-2017 02:43 PM