echonesis opened a new pull request, #11663: URL: https://github.com/apache/ozone/pull/11663
## What changes were proposed in this pull request? **StorageContainerDatanodeProtocol** contains a **versionID** constant and a **@KerberosInfo** annotation, while the RPC version and Kerberos metadata are already defined in **StorageContainerDatanodeProtocolPB**, which Hadoop RPC uses. This PR: - removes the redundant **versionID** constant and **@KerberosInfo** annotation from **StorageContainerDatanodeProtocol**; - adds a regression test covering the PB protocol name, version, SCM server principal key, and datanode client principal key. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16245 ## How was this patch tested? Local Tests: ``` mvn -pl :hdds-container-service test \ -Dtest=TestStorageContainerDatanodeProtocolPB \ -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/39551926733 Generated-by: Codex (GPT-6) -- 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]
