[ 
https://issues.apache.org/jira/browse/HADOOP-10220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-10220:
-----------------------------------

    Attachment: HADOOP-10220.1.patch

Summary of changes:

# Add ACL bit member to {{FsPermission}}.  Add new constructor, bit twiddling 
and string parsing.
# Update {{TestFsPermission}} to fully cover new constructor, binary parsing 
and string parsing for the new ACL bit.  While I was in here, I noticed that 
{{TestFsPermission#testFsPermission}} was not fully covering sticky bit 
handling, so I also added tests for that.
# {{RawLocalFileSystem}} previously had a special case to ignore the '+' ACL 
indicator when parsing results from a local file system that might have ACLs 
enabled.  Now that we have an ACL bit, we don't need this special case.

This patch is targeted for the HDFS-4685 feature branch, but it can apply 
cleanly to trunk, so I'm going to try submitting it for a Jenkins run.

> Add ACL indicator bit to FsPermission.
> --------------------------------------
>
>                 Key: HADOOP-10220
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10220
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: HDFS ACLs (HDFS-4685)
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-10220.1.patch
>
>
> This patch will take a previously unused bit in the 16-bit {{FsPermission}} 
> and use it to indicate the presence of an ACL on the file or directory.  The 
> CLI will use this to display an indicator in the permission string if an ACL 
> is present.  The NameNode will use it in ACL modification APIs, permission 
> checks, and display of an indicator in the directory browser web UI.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to