duongkame commented on code in PR #4345:
URL: https://github.com/apache/ozone/pull/4345#discussion_r1131346547


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMSecurityProtocolServer.java:
##########
@@ -93,15 +100,22 @@ public class SCMSecurityProtocolServer implements 
SCMSecurityProtocol {
   private final ProtocolMessageMetrics metrics;
   private final StorageContainerManager storageContainerManager;
 
+  // SecretKey may not be enabled if when neither block token nor container
+  // token is enabled.
+  private final SecretKeyManager secretKeyManager;
+
   SCMSecurityProtocolServer(OzoneConfiguration conf,
-      CertificateServer rootCertificateServer,
-      CertificateServer scmCertificateServer,
-      X509Certificate rootCACert, StorageContainerManager scm)
+                            CertificateServer rootCertificateServer,

Review Comment:
   Thanks, that's helpful. :)



-- 
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