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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org