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 "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2019/05/01 23:43:00 UTC

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

     [ https://issues.apache.org/jira/browse/HDDS-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bharat Viswanadham resolved HDDS-1132.
--------------------------------------
    Resolution: Duplicate

> 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: Zsolt Venczel
>            Priority: Major
>              Labels: newbie
>
> 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