ChenSammi commented on a change in pull request #2397:
URL: https://github.com/apache/ozone/pull/2397#discussion_r668468319
##########
File path:
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/datanode/ListInfoSubcommand.java
##########
@@ -51,6 +51,19 @@
defaultValue = "")
private String uuid;
+ @CommandLine.Option(names = {"--NodeOperationalState"},
+ description = "Show info by datanode NodeOperationalState." +
+ "IN_SERVICE DECOMMISSIONING DECOMMISSIONED ENTERING_MAINTENANCE" +
Review comment:
Please change the description to the following format "Show info by
datanode NodeOperationalState(IN_SERVICE, DECOMMISSIONING, DECOMMISSIONED,
ENTERING_MAINTENANCE, IN_MAINTENANCE)."
##########
File path:
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/datanode/ListInfoSubcommand.java
##########
@@ -51,6 +51,19 @@
defaultValue = "")
private String uuid;
+ @CommandLine.Option(names = {"--NodeOperationalState"},
+ description = "Show info by datanode NodeOperationalState." +
+ "IN_SERVICE DECOMMISSIONING DECOMMISSIONED ENTERING_MAINTENANCE" +
+ "IN_MAINTENANCE",
+ defaultValue = "")
+ private String nodeOperationalState;
+
+ @CommandLine.Option(names = {"--NodeState"},
+ description = "Show info by datanode NodeState." +
+ " HEALTHY STALE DEAD",
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]