fapifta commented on code in PR #3982:
URL: https://github.com/apache/ozone/pull/3982#discussion_r1046091086


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/HddsDatanodeService.java:
##########
@@ -188,6 +188,7 @@ public Void call() throws Exception {
 
   public void setConfiguration(OzoneConfiguration configuration) {
     this.conf = configuration;
+    this.secConf = new SecurityConfig(conf);

Review Comment:
   I don't think we need this initialization, the secConf variable is 
initialized in the start() method as well, and that is in the code path for the 
startup.



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