[
https://issues.apache.org/jira/browse/FLINK-20866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-20866:
-----------------------------------
Labels: pull-request-available usability (was: usability)
> Add how to list jobs in Yarn deployment documentation when HA enabled
> ---------------------------------------------------------------------
>
> Key: FLINK-20866
> URL: https://issues.apache.org/jira/browse/FLINK-20866
> Project: Flink
> Issue Type: Improvement
> Components: Deployment / YARN, Documentation
> Reporter: Yang Wang
> Assignee: Till Rohrmann
> Priority: Major
> Labels: pull-request-available, usability
>
> We suggest users to list the running jobs in a Flink cluster via the
> following commands.
> {code:java}
> List running job on the cluster
> ./bin/flink list -t yarn-per-job -Dyarn.application.id=application_XXXX_YY
> {code}
> However, it could not work when the HA is enabled. The root cause is that
> GenericCLI do not override the "high-availability.cluster-id" with specified
> application id. The correct command could look like following.
> {code:java}
> flink list --target yarn-per-job -Dyarn.application.id=$application_id
> -Dhigh-availability.cluster-id=$application_id
> {code}
>
> Find more information in the discussion ML[1].
>
> [1].
> https://lists.apache.org/thread.html/r0ed905699a182d7b9180ed52d765fcd40caa659ef9640d60aa2ad20e%40%3Cuser.flink.apache.org%3E
--
This message was sent by Atlassian Jira
(v8.3.4#803005)