Unable to create directory under /user


#1

hi team,

i would like to import data from sql through sqoop commands and save it in hdfs. so i would like to create folder under /user(infact anywhere im not allowed) but its throwing error.

mkdir: Permission denied: user=reachveena03, access=WRITE, inode="/veena":hdfs:hdfs:drwxrwxr-x

could you please look into this.


#2

You can’t create a folder under /user, you can create the folder under your user HDFS directory (/user/reachveena03). You can use the below command to create HDFS directory.

hadoop fs -mkdir /user/reachveena03 /veena