You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2021/01/07 09:58:00 UTC
[jira] [Updated] (FLINK-20866) Add how to list jobs in Yarn
deployment documentation when HA enabled
[ https://issues.apache.org/jira/browse/FLINK-20866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann updated FLINK-20866:
----------------------------------
Labels: usability (was: )
> 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: 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)