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:50:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17260359#comment-17260359 ] 

Till Rohrmann commented on FLINK-20866:
---------------------------------------

I think we can change the behaviour that we always set {{high-availability.cluster-id}} to the application id if it has not been set. Then accessing the cluster is symmetric to deploying a cluster. Only if one has chosen an explicit cluster-id, one needs to specify it then.

> 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
>
> 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)