hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5933) Optimize the FSImage layout for ACLs
Date Tue, 11 Feb 2014 22:27:19 GMT
Haohui Mai created HDFS-5933:
--------------------------------

             Summary: Optimize the FSImage layout for ACLs
                 Key: HDFS-5933
                 URL: https://issues.apache.org/jira/browse/HDFS-5933
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Haohui Mai
            Assignee: Haohui Mai


The current serialization of the ACLs is suboptimal. ACL entries should be serialized using
the same scheme that the PB-based FSImage serializes permissions.

The entry is represented by an 64-bit bit-vector, which is
{code}
[reserved[0:21)][name[21:45)][type[45:47)][scope[47:48)][permissions[48:64)]
{code}

{{name}} is a 24-bit ID that points to a string in {{StringTable}}. {{type}}, {{scope}}, {{permissions}}
are the corresponding fields in an AclEntry. Bits in {{reserved}} are reserved for future
uses.



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

Mime
View raw message