Hdfs and hive permission denied

Hello Sir,

I am getting permission denied while creating or accessing the DB. Even after set hive.metastore.warehouse.dir; command.

PBF below error more info:

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=itv001245, access=WRITE, inode="/user/hive/warehouse":hive:students:drwxrwxr-x

In addition to the above query, I am also unable to make any file or folder in my Hadoop environment.

for example:

[itv001245@g01 home]$ hive -e “SET;” > hive_prop

-bash: hive_prop: Permission denied

Looking forward to hear from you.

Thank you,
Pooja.

Hold on, read this through before raising topic in this category

Are you getting Permission denied, too many logins issue?
Don’t raise new ticket. Click here for the solution. If the issue persists after 30 minutes then raise new ticket

Go through other common issues in this category before raising any issue.