You might want to try out sudo -u hdfs hadoop <command>
Regards, Pavan On Aug 15, 2013 9:17 PM, "Jitendra Yadav" <[email protected]> wrote: > Can you please share the configuration in hdfs-site.xml,core-site.xml file > along with NN and DN logs.? > > Also please check the permission at fs.data.dir location. > > Thanks > On Thu, Aug 15, 2013 at 9:08 PM, Sriram Balachander < > [email protected]> wrote: > >> Hi All >> >> I am new to hadoop and trying to get some hands-on.I am trying to create >> a new directory under user folder in the cloudera-quickstart-vm-4.3.0 >> virtual machine. Can you help me out here? >> Below is the permission error i get. >> >> [cloudera@localhost ~]$ hadoop fs -mkdir /user/newuser >> mkdir: Permission denied: user=cloudera, access=WRITE, >> inode="/user":hdfs:supergroup:drwxr-xr-x >> [cloudera@localhost ~]$ >> >> Regards >> Sriram >> > >
