ChenSammi commented on a change in pull request #2397:
URL: https://github.com/apache/ozone/pull/2397#discussion_r667596128
##########
File path:
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/datanode/ListInfoSubcommand.java
##########
@@ -51,6 +51,16 @@
defaultValue = "")
private String uuid;
+ @CommandLine.Option(names = {"--NodeOperationalState"},
+ description = "Show info by datanode NodeOperationalState.",
Review comment:
Please add all available NodeOperationalState values in the description
to asssit user's better choice.
##########
File path:
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/datanode/ListInfoSubcommand.java
##########
@@ -51,6 +51,16 @@
defaultValue = "")
private String uuid;
+ @CommandLine.Option(names = {"--NodeOperationalState"},
+ description = "Show info by datanode NodeOperationalState.",
+ defaultValue = "")
+ private String nodeOperationalState;
+
+ @CommandLine.Option(names = {"--NodeState"},
+ description = "Show info by datanode NodeState.",
Review comment:
Same as above.
--
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]