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

Chris Nauroth updated HDFS-5615:
--------------------------------

    Attachment: HDFS-5615.1.patch

I'm attaching a patch that adds new tests to {{TestStickyBit}}.  I also did 
some cleanup work while I was in this file.

As I expected, this is only tests.  The existing code in the HDFS-4685 branch 
already worked as expected, because sticky bit handling is decoupled from 
permission bits vs. ACLs.

Summary:
# For each existing test, add a new variation of the test that applies an ACL.
# Refactor test cluster initialization and shutdown to {{BeforeClass}} and 
{{AfterClass}} methods.  This gives a modest improvement in running time for 
the test suite.
# Refactor the various assertions to achieve some code sharing between the 
permission variant and the ACL variant of each test.


> NameNode: implement handling of ACLs in combination with sticky bit.
> --------------------------------------------------------------------
>
>                 Key: HDFS-5615
>                 URL: https://issues.apache.org/jira/browse/HDFS-5615
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: HDFS ACLs (HDFS-4685)
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-5615.1.patch
>
>
> The sticky bit must work in combination with ACLs, similar to how the sticky 
> bit already works with permissions.



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

Reply via email to