avijayanhwx commented on a change in pull request #1286: Add filter to scmcli
listPipelines.
URL: https://github.com/apache/hadoop/pull/1286#discussion_r313576403
##########
File path:
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/pipeline/ListPipelinesSubcommand.java
##########
@@ -38,11 +38,34 @@
@CommandLine.ParentCommand
private SCMCLI parent;
+ @CommandLine.Option( names = {"-ff", "--filterByFactor"},
+ description = "Filter listed pipelines by Factor(ONE/one)",
defaultValue = "",
+ required = false)
+ private String factor;
+
+ @CommandLine.Option( names = {"-fs", "--filterByState"},
Review comment:
Nit. Maybe some other shorthand than "-fs", since it usually means
filesystem in HDFS world.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]