hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7582) Enforce maximum number of ACL entries separately per access and default.
Date Tue, 21 Jul 2015 15:29:10 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635260#comment-14635260
] 

Hudson commented on HDFS-7582:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2190 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2190/])
HDFS-7582. Enforce maximum number of ACL entries separately per access and default. (Contributed
by Vinayakumar B) (vinayakumarb: rev 29cf887b226f4ab3c336a6e681db5e8e70699d66)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestAclTransformation.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/AclTransformation.java


> Enforce maximum number of ACL entries separately per access and default.
> ------------------------------------------------------------------------
>
>                 Key: HDFS-7582
>                 URL: https://issues.apache.org/jira/browse/HDFS-7582
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.4.0
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>             Fix For: 2.8.0
>
>         Attachments: HDFS-7582-001.patch, HDFS-7582-01.patch, HDFS-7582-02.patch
>
>
> Current ACL limits are only on the total number of entries.
> But there can be a situation where number of default entries for a directory will be
more than half of the maximum entries, i.e. > 16.
> In such case, under this parent directory only files can be created which will have ACLs
inherited using parent's default entries.
> But when directories are created, total number of entries will be more than the maximum
allowed, because sub-directories copies both inherited ACLs as well as default entries.
> Since currently there is no check while copying ACLs from default ACLs directory creation
succeeds, but any modification (only permission on one entry also) on the same ACL will fail.
> It would be better to enforce the maximum of 32 entries separately per access and default.
 This would be consistent with our observations testing ACLs on other file systems, such as
XFS and ext3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message