Unabe to create a folder in /



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


Anybody has any idea why am I getting this error ? Please let me know ....Thanks

1 Answer(s)


0

You cannot create directory under "/" root folder. Just create directory within /user/cloudera hadoop location. like

hadoop fs -mkdir /user/cloudera/example