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/08 14:19:00 UTC

[jira] [Closed] (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 closed FLINK-20866.
---------------------------------
    Resolution: Fixed

Fixed via

1.13.0: 1c719c9287f852bbe2f5e2bfc68085cf9152c74e
1.12.1: 46514f38a2e364da30a96444ece45eceb1e09762
1.11.4: 1d15e3afd6a72526ebc571fc535907c77c203c0d

> 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
>    Affects Versions: 1.12.0, 1.11.3, 1.13.0
>            Reporter: Yang Wang
>            Assignee: Till Rohrmann
>            Priority: Major
>              Labels: pull-request-available, usability
>             Fix For: 1.13.0, 1.11.4, 1.12.1
>
>
> 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)