terminal window


3 Answer(s)


Hi Sujatha,

Please post some more information about the issue, if any solution is required from our end.

Happy Learning @ Dezyre !!

I am still unable to mkdir in hadoop... Note below:

[cloudera@localhost input]$ hadoop fs -ls /
Found 5 items
drwxr-xr-x - hbase hbase 0 2014-06-02 09:23 /hbase
drwxr-xr-x - solr solr 0 2014-06-02 09:22 /solr
drwxrwxrwx - hdfs supergroup 0 2014-06-02 09:22 /tmp
drwxr-xr-x - hdfs supergroup 0 2014-06-02 09:24 /user
drwxr-xr-x - hdfs supergroup 0 2014-06-02 09:21 /var

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

Hi Tim,

Looks like you are trying to create a directory in hdfs and getting this permission issue.
Reason behind this is that the location where you are trying to create a directory in hdfs, is a root level directory on which cloudera user don't have permissions to write.

Please try following command:
hadoop fs -mkdir /tmp/wordcount


Please post, if any other issue comes.


Happy Learning @ Dezyre !!