Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> Re: Initial Permission Settings


Copy link to this message
-
Re: Initial Permission Settings
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/
>
>