while i was trying to solve one of the task from HDPCD practice exam, its throwing following error when i am trying to create a folder under /User folder. anybody had this issue?
mkdir: Permission denied: user=horton, access=WRITE, inode="/user":hdfs:hdfs:drwxr-xr-x
That looks a permission issue as the inode /user belongs to hdfs
As the root user switch to hdfs user and run the below
$ hdfs dfs -mkdir /user/horton
Change permissions,assuming horton is part of group hdfs
$ hdfs dfs -chown horton:hdfs /user/horton
Retry and revert