why am I not able to create a directory in root folder?



0
hadoop fs -mkdir /mydata
mkdir: Permission denied: user=cloudera, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x


1 Answer(s)


0

hi Parvathi,

you cannot create anything on "/" root node. Please create the directory/files in hdfs path which is /user/cloudera

hadoop fs -mkdir /user/cloudera/testdir1