[
https://issues.apache.org/jira/browse/FLINK-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967385#comment-16967385
]
Zili Chen commented on FLINK-14601:
-----------------------------------
Thanks for reporting this. I think with the patch below we can solve this
issue. Could you verify it?
{code}
diff --git
a/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
b/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
index c0295c7073..4905a374a7 100644
---
a/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
+++
b/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
@@ -283,6 +283,7 @@ public class CliFrontendParser {
}
private static Options getListOptionsWithoutDeprecatedOptions(Options
options) {
+ options.addOption(ALL_OPTION);
options.addOption(RUNNING_OPTION);
return options.addOption(SCHEDULED_OPTION);
}
{code}
> CLI documentation for list is missing '-a'
> ------------------------------------------
>
> Key: FLINK-14601
> URL: https://issues.apache.org/jira/browse/FLINK-14601
> Project: Flink
> Issue Type: Bug
> Reporter: Hunter Jackson
> Priority: Minor
>
> It is shown in the examples here
> [https://ci.apache.org/projects/flink/flink-docs-release-1.9/ops/cli.html#job-management-examples]
> however it is not in the help docs or any other documentation I can find
>
> {code:java}
> $ ./bin/flink list --help
> Action "list" lists running and scheduled programs. Syntax: list [OPTIONS]
> "list" action options:
> -r,--running Show only running programs and their JobIDs
> -s,--scheduled Show only scheduled programs and their JobIDs
> Options for default mode:
> -m,--jobmanager <arg> Address of the JobManager (master) to
> which
> to connect. Use this flag to connect to a
> different JobManager than the one
> specified
> in the configuration.
> -z,--zookeeperNamespace <arg> Namespace to create the Zookeeper
> sub-paths
> for high availability mode
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)