bshashikant commented on a change in pull request #1921:
URL: https://github.com/apache/ozone/pull/1921#discussion_r578974446
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManagerStarter.java
##########
@@ -112,6 +112,25 @@ public void initScm(@CommandLine.Option(names = {
"--clusterid" },
}
}
+ /**
+ * This function implements a sub-command to allow the SCM to be
+ * initialized from the command line.
+ */
+ @CommandLine.Command(name = "--bootstrap",
+ customSynopsis = "ozone scm [global options] --bootstrap",
Review comment:
[global options] are hadoop generic options . I guess, maintained for
legacy same as in scm --init.
----------------------------------------------------------------
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]