XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Reviewed

    Description

      PermissionStatus contains the user name, the group name and the permission. It is serialized into two strings and a short.

      Note that the size of unique user / groups names are relatively small, thus this format has some performance penalties. The names are stored multiple times, increasing both the storage size and the overhead of reconstructing the names.

      This jira proposes to serialize PermissionStatus similar to its in-memory layout. The code can record a mapping between user / group names and ids, and pack user / group / permission into a single 64-bit long.

      Attachments

        1. HDFS-5793.000.patch
          11 kB
          Haohui Mai
        2. HDFS-5793.001.patch
          11 kB
          Haohui Mai

        Activity

          People

            wheat9 Haohui Mai
            wheat9 Haohui Mai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: