adoroszlai commented on code in PR #10494:
URL: https://github.com/apache/ozone/pull/10494#discussion_r3404933744
##########
hadoop-ozone/cli-admin/src/main/java/org/apache/hadoop/ozone/admin/om/DecommissionOMSubcommand.java:
##########
@@ -67,15 +67,11 @@ public class DecommissionOMSubcommand implements
Callable<Void> {
@CommandLine.Mixin
private OmAddressOptions.MandatoryServiceIdMixin omServiceOption;
- @CommandLine.Option(names = {"-nodeid", "--nodeid"},
- description = "NodeID of the OM to be decommissioned.",
- required = true)
- private String decommNodeId;
+ @CommandLine.ArgGroup(multiplicity = "1")
+ private NodeIdOptions nodeIdOptions;
Review Comment:
Thanks for the explanation.
--
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]