Access denied to hive

Hi,
As said before to check with the hive video,initially it worked,but now stopped working again…
Below is the issue:
Permission denied…

set hive.metastore.warehouse.dir;
hive.metastore.warehouse.dir=/sameeraj/itversity/whouse
hive> set hive.metastore.warehouse.dir=/apps/itversity/warehouse;
hive> set hive.metastore.warehouse.dir=/apps/hive/warehouse;
hive> dfs -ls /apps/hive;
Found 1 items
drwxr-xr-x - hdfs hdfs 0 2020-10-05 00:12 /apps/hive/warehouse
hive> set hive.metastore.warehouse.dir=/sameera/itversity/warehouse;
hive> dfs -ls /sameera/itversity;
ls: /sameera/itversity': No such file or directory Command failed with exit code = 1 Query returned non-zero code: 1, cause: null hive> set hive.metastore.warehouse.dir=/sameeraj/itversity/warehouse; hive> dfs -ls /sameeraj/itversity; ls:/sameeraj/itversity’: No such file or directory
Command failed with exit code = 1
Query returned non-zero code: 1, cause: null
hive> create database house;
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:java.security.AccessControlException: Permission denied: user=sameeraj, access=WRITE, inode="/":hdfs:hdfs:drwxrwxr-x
at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:353)

Are you able to create a new database or use an old one in hive?

Even I am not able to create new database and all old databases/tables are gone… I am facing permission denied error. There is something wrong with my account.

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:java.security.AccessControlException: Permission denied: user=thisismurthygmailcom, access=WRITE, inode="/user/hive":hive:group:drwxr-xr-x

Hi, Please follow this post.

https://medium.com/@itversity/itversity-big-data-labs-hive-starter-kits-8b7b5c2a2721