bshashikant commented on a change in pull request #1953:
URL: https://github.com/apache/ozone/pull/1953#discussion_r583451073
##########
File path:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestSecureOzoneCluster.java
##########
@@ -326,6 +329,10 @@ private void initSCM() throws IOException {
scmStore.setScmId(scmId);
// writes the version file properties
scmStore.initialize();
+ if (!SCMHAUtils.isSCMHAEnabled(conf)) {
Review comment:
This step is required bcoz, otherwise, scm start won't elect a ratis
leader as this is initializing scm version file without calling explicit
scmInit.
----------------------------------------------------------------
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]