smengcl commented on code in PR #11617:
URL: https://github.com/apache/ozone/pull/11617#discussion_r4701207662


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java:
##########
@@ -123,6 +126,7 @@ public SCMBlockProtocolServer(OzoneConfiguration conf,
     this.scm = scm;
     this.perfMetrics = scm.getPerfMetrics();
     this.omPrincipal = conf.get(OM_KERBEROS_PRINCIPAL_KEY, "");
+    this.preferClientLocalPipeline = 
conf.getObject(ScmConfig.class).isPreferClientLocalPipeline();

Review Comment:
   Done in 5f16db4599. `StorageContainerManager` now creates `ScmConfig` once 
in its constructor and passes it to `SCMBlockProtocolServer`, and 
`initializeSystemManagers` uses the field instead of its local variable.
   



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