hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11918) Ozone: Encapsulate KSM metadata key into protobuf messages for better (de)serialization
Date Fri, 02 Jun 2017 09:57:04 GMT
Weiwei Yang created HDFS-11918:
----------------------------------

             Summary: Ozone: Encapsulate KSM metadata key into protobuf messages for better
(de)serialization
                 Key: HDFS-11918
                 URL: https://issues.apache.org/jira/browse/HDFS-11918
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
            Reporter: Weiwei Yang
            Assignee: Weiwei Yang
            Priority: Critical


There are multiple type of keys stored in KSM database
# Volume Key
# Bucket Key
# Object Key
# User Key

Currently they are represented as plain string with different convention, such as
# /volume
# /volume/bucket
# /volume/bucket/key
# $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).





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message