[jira] [Created] (FLINK-20866) Add how to list jobs in Yarn deployment documentation when HA enabled

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-20866) Add how to list jobs in Yarn deployment documentation when HA enabled

Shang Yuanchun (Jira)
Yang Wang created FLINK-20866:
---------------------------------

             Summary: 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


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)