Description
HDFS-5620 indicated a GlobalAclSet containing unique AclFeature can be de-duplicated to save the memory in NameNode. However it was not implemented at that time.
This Jira re-proposes same implementation, along with de-duplication of unique AclEntry across all ACLs.
One simple usecase is:
A mapreduce user's home directory with the set of default ACLs, under which lot of other files/directories could be created when jobs is run. Here all the default ACLs of parent directory will be duplicated till the explicit delete of those ACLs. With de-duplication,only one object will be in memory for the same Entry across all ACLs of all files/directories.
Attachments
Attachments
Issue Links
- contains
-
HDFS-5620 NameNode: implement Global ACL Set as a memory optimization.
- Resolved
- is depended upon by
-
HDFS-7456 De-duplicate AclFeature instances with same AclEntries do reduce memory footprint of NameNode
- Closed
- relates to
-
HDFS-7481 Add ACL indicator to the "Permission Denied" exception.
- Closed