You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Steve Lewis <lo...@gmail.com> on 2013/05/20 16:33:30 UTC

Default permissions for Hadoop output files

I am trying to move our jobs from a 0.2.. hadoop cluster to a 1.03 cluster
One issue I am running into is that files - and specifically the hadoop
output files are created with permission
*rw-------*
*
*
our 0.2 cluster the permissions are
*rw-r--r--*
*
*
*The problem is that the web hdfs interface does not have permission to
view the files so I cannot browse the output *
*How do I set default permissions to be **rw-r--r--*
*or maybe rw-rw-rw-??
*--

Re: Default permissions for Hadoop output files

Posted by Ravi Prakash <ra...@ymail.com>.
Hi Steve,

You can use fs.permissions.umask-modeto set the appropriate umask




________________________________
 From: Steve Lewis <lo...@gmail.com>
To: common-user <co...@hadoop.apache.org> 
Sent: Monday, May 20, 2013 9:33 AM
Subject: Default permissions for Hadoop output files
 

I am trying to move our jobs from a 0.2.. hadoop cluster to a 1.03 cluster
One issue I am running into is that files - and specifically the hadoop
output files are created with permission
*rw-------*
*
*
our 0.2 cluster the permissions are
*rw-r--r--*
*
*
*The problem is that the web hdfs interface does not have permission to
view the files so I cannot browse the output *
*How do I set default permissions to be **rw-r--r--*
*or maybe rw-rw-rw-??
*--