hadoop fs -mkdir dezyre is not working


2 Answer(s)


hi Anand,

Please confirm if you are executing this command on Cloudera VM. Also make sure that you execute all commands as "cloudera" user instead of "root" user. The below command should perfectly work

hadoop fs -mkdir dezyre

Thanks

Hello,
Thank you for your response.

I logged in as cloudera, i am not logging as root. Also it is CentOS.
hadoop fs -mkdir dezyre works fine now

But the document asks to create dezyre under root of hdfs, like the command below fails

hadoop fs -mkdir /dezyre .

[cloudera@localhost ~]$ hadoop fs -mkdir /dezyre
mkdir: Permission denied: user=cloudera, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x

Please advise.