not able to execute hadoop fs -mkdir /wordcount
3 Answer(s)
Pradeep
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.
Aug 29 2015 09:56 AM
Pradeep
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.
Aug 29 2015 09:57 AM
DeZyre Support
hi Ashok,
The command has error, you cannot create directory on the "/" root directory, try this
hadoop fs -mkdir /user/cloudera/dezyre
Aug 31 2015 10:51 AM
The command has error, you cannot create directory on the "/" root directory, try this
hadoop fs -mkdir /user/cloudera/dezyre