ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1637) IGFS: Consistent properties propagation.
Date Thu, 12 Nov 2015 13:13:10 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15002040#comment-15002040

Ivan Veselovsky commented on IGNITE-1637:

First of all, HDFS does not have notion of "file properties" -- it has file permission and
a set of named attributes, such as modification time or replication factor.
With regards to created files permissions, HDFS behavior is different for file and directory

If a file is created, the created directories get org.apache.hadoop.fs.permission.FsPermission#getDirDefault
(0777) permission. Umask *is* applied to the created file, but is *not* applied to the created

If a directory is created, all the parent directories are created with the same permission
that is requested for the directory itself. The only exception is that "wx" (write and execute)
permissions are explicitly added for the owner on the parent directories to be able to write
child directories. Umask *is* applied to all the created directories. 
If umask conflicts with the added permissions , the added permissions take priority.

> IGFS: Consistent properties propagation.
> ----------------------------------------
>                 Key: IGNITE-1637
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1637
>             Project: Ignite
>          Issue Type: Task
>          Components: hadoop
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Ivan Veselovsky
>            Priority: Critical
>             Fix For: 1.5
> IGFS has methods accepting properties map. E.g., create, append, mkdirs. 
> How we should apply these properties? Two strategies are possible:
> 1) Apply there properties only to leaf node, and set defaults to parent nodes.
> 2) Apply there properties to all created nodes.
> Lets take HDFS as a reference for this. 

This message was sent by Atlassian JIRA

View raw message