Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-11918

Ozone: Encapsulate KSM metadata key for better (de)serialization

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Later
    • None
    • None
    • ozone
    • None

    Description

      There are multiple type of keys stored in KSM database

      1. Volume Key
      2. Bucket Key
      3. Object Key
      4. User Key

      Currently they are represented as plain string with some conventions, such as

      1. /volume
      2. /volume/bucket
      3. /volume/bucket/key
      4. $user

      this approach makes it so difficult to parse volume/bucket/keys from KSM database. Propose to encapsulate these types of keys into protobuf messages, and take advantage of protobuf to serialize(deserialize) classes to byte arrays (and vice versa).

      Attachments

        Activity

          People

            cheersyang Weiwei Yang
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: