dfs.umask has been deprecated in favor of dfs.umaskmode Typically a umask is represented as an octal, whereas dfs.umask was represented as a decimal. dfs.umaskmode accepts octal notation, as is preferred. For details, feel free to read up on https://issues.apache.org/jira/browse/HADOOP-6234
-Michael On Tue, Jan 29, 2013 at 5:47 PM, Serge Blazhiyevskyy < [email protected]> wrote: > Thanks for response. > > > I am still a bit confused. > > There are two parameters: dfs.umask and dfs.umaskmode and both of them > seems to be deprecated in different hadoop versions. > > Does anybody know whats going on with those two parameters? > > > Thanks > Serge > > > > > On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli < > [email protected]<mailto:[email protected]>> wrote: > > > Please check your dfs umask (dfs.umask configuration property). > > HTH, > +Vinod > > > On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy < > [email protected]<mailto:[email protected]>> wrote: > Hi all, > > Quick question about hadoop dfs -put local_file hdfs_file command > > > It seems that regardless of permissions for local_file the initial > permissions for hdfs_file are -rw-r--r--, which allow file to be read by > other users. > > Is there are way to change the initial file settings? > > Thanks in advance. > Serge > > > > > > -- > +Vinod > Hortonworks Inc. > http://hortonworks.com/ > >
