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

Xiao Chen updated HDFS-9273:
----------------------------
    Attachment: HDFS-9273.001.patch

Attached patch 001. Please review and advice, thanks.
The fix is to copy the AclFeature from the temporary root variable to 
{{rootDir}} of FSDirectory.
Added a test case to simulate the scenario of loading root directory's ACL from 
FsImage.

> ACLs on root directory may be lost after NN restart
> ---------------------------------------------------
>
>                 Key: HDFS-9273
>                 URL: https://issues.apache.org/jira/browse/HDFS-9273
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: HDFS
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HDFS-9273.001.patch
>
>
> After restarting namenode, the ACLs on the root directory ("/") may be lost 
> if it's rolled over to fsimage.



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

Reply via email to