XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Ozone Manager, S3
    • HDDS BadLands

    Description

      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.

       

       

      Attachments

        Issue Links

          Activity

            People

              zvenczel Zsolt Venczel
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: