not able to execute hadoop fs -mkdir /wordcount


3 Answer(s)


Ok so you are using cent OS in Virtual machine, you logged in as CloudEra user. So you should be able to create directories within /home/cloudera/, you will get privilege issue when u create directory in any other path other Than I mentioned because that belongs to other user or root user.

Ouch my bad, to create a directory in hdfc you need to use path as /user/cloudera. You should be able to create directories within this path.

hi Ashok,

The command has error, you cannot create directory on the "/" root directory, try this

hadoop fs -mkdir /user/cloudera/dezyre