It's not suggested to disable Hadoop permission check in production, however, in some cases, for example, to have less trouble when you just started to learn, or in a development environment, you may want keep things simple. This means that any user, not just the “hdfs” user, can do anything they want to HDFS so do not do this in production unless you have a very good reason.

If that’s the case and you really want to disable permissions just add few lines belowt into your hdfs-site.xml file located in hdfs-site.xml  in the configuration section:


Then restart Hadoop services by running

Now you should now be able to read/write with no restrictions. Get rid of the following error message you’re most likely seeing:

 put: Permission denied: user=fibrevillage, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x 


Comments powered by CComment