echonesis opened a new pull request, #11079:
URL: https://github.com/apache/ozone/pull/11079

   ## What changes were proposed in this pull request?
   `SCMSecurityProtocol` duplicated the protocol version and Kerberos metadata 
already defined by `SCMSecurityProtocolPB`, which is the interface used by 
Hadoop RPC.
   
   This PR:
   - removes the redundant `versionID` and `@KerberosInfo` annotation from 
`SCMSecurityProtocol`;
   - keeps the RPC metadata in `SCMSecurityProtocolPB`;
   - adds a regression test verifying the protocol name, protocol version, and 
SCM Kerberos principal exposed by the PB protocol.
   
   This consolidates the RPC metadata in the protocol interface where it is 
consumed and prevents the duplicated definitions from diverging.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-16244
   
   ## How was this patch tested?
   
   Local Test
   ```
   mvn -pl :hdds-server-framework -am test \
         -Dtest=TestSCMSecurityProtocolPB \
         -Dsurefire.failIfNoSpecifiedTests=false \
         -DskipShade -DskipRecon -DskipDocs
   
   mvn -pl :ozone-integration-test test \
         
-Dtest=TestSecureOzoneCluster#testSecureScmAndOmStartupAndAccessControl \
         -DskipShade -DskipRecon -DskipDocs
   ```
   
   GitHub Actions CI: 
https://github.com/echonesis/ozone/actions/runs/32463288850
   
   Generated-by: Codex (GPT-5)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to