You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2019/02/19 09:37:00 UTC

[jira] [Created] (HDDS-1132) Ozone serialization codec for Ozone S3 secret table

Elek, Marton created HDDS-1132:
----------------------------------

             Summary: Ozone serialization codec for Ozone S3 secret table
                 Key: HDDS-1132
                 URL: https://issues.apache.org/jira/browse/HDDS-1132
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
          Components: Ozone Manager, S3
            Reporter: Elek, Marton
            Assignee: Elek, Marton


HDDS-748/HDDS-864 introduced an option to use strongly typed metadata tables and separated the serialization/deserialization logic to separated codec implementation

HDDS-937 introduced a new S3 secret table which is not codec based.

I propose to use codecs for this table.

In OzoneMetadataManager the return value of getS3SecretTable() should be changed from Table<byte[],byte[]> to Table<S3SecretKey,S3SecretValue>. 

The encoding/decoding logic of S3SecretValue should be registered in ~OzoneMetadataManagerImpl:L204

As the codecs are type based we may need a wrapper class to encode the String kerberos id with md5: class S3SecretKey(String name = kerberodId). Long term we can modify the S3SecretKey to support multiple keys for the same kerberos id.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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