Siyao Meng created HDDS-6339:
--------------------------------

             Summary: Rename kerberosID to accessId in the code and proto 
messages
                 Key: HDDS-6339
                 URL: https://issues.apache.org/jira/browse/HDDS-6339
             Project: Apache Ozone
          Issue Type: Task
            Reporter: Siyao Meng


Before Multi-Tenancy, kerberosID sematically equals accessId in the Ozone code 
base.

With Multi-Tenancy, kerberosID is decoupled from accessId meaning they are no 
longer equivalent at all times.

Suggestion:
1. Check and rename all code occurrences of {{kerberosID}} to {{accessId}} 
wherever appropriate. e.g. 
https://github.com/apache/ozone/blob/edcb2e19278b331563187217533935d93660a53e/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/S3SecretManagerImpl.java#L60;
2. Check and rename all protobuf messages occurrences of {{kerberosID}} to 
{{accessId}} -- but this might have wire compatibility consequences. If so, add 
a comment saying the field is effectively {{accessId}}. e.g. 
https://github.com/apache/ozone/blob/2e6754f6cc0f077ee6738ca76820ac7c6db391ef/hadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto#L1386



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to