rakeshadr commented on a change in pull request #2151:
URL: https://github.com/apache/ozone/pull/2151#discussion_r615738537



##########
File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
##########
@@ -1115,6 +1118,9 @@ public void start() throws IOException {
     getOMMetadataLayout();
 
     metadataManager.start(configuration);
+
+    validatesBucketLayoutMismatches();

Review comment:
       @elek  I hope you agree to move the 
`metadataManager.start(configuration)`  call upwards before the ratis server 
start ?
   
   ```
   OzoneManager#start()
   
       LOG.info(buildRpcServerStartMessage("OzoneManager RPC server",
           omRpcAddress));
   
       metadataManager.start(configuration);
       getOMMetadataLayout();
       validatesBucketLayoutMismatches();
   
       // Start Ratis services
       if (omRatisServer != null) {
         omRatisServer.start();
       }
   
       startSecretManagerIfNecessary();
   ```




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