bharatviswa504 commented on a change in pull request #2000:
URL: https://github.com/apache/ozone/pull/2000#discussion_r603016962



##########
File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
##########
@@ -400,6 +413,14 @@ private StorageContainerManager(OzoneConfiguration conf,
     registerMetricsSource(this);
   }
 
+  private void initializeCertificateClient() {
+    if (primaryScmNodeId != null) {

Review comment:
       We should initialize CertificateClient on all SCM's.
   So had this check primaryScmNodeId != null, as we don't want to 
initializeCertClient on upgraded SCM where init has not happened.




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

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