Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20866

Add how to list jobs in Yarn deployment documentation when HA enabled

    XMLWordPrintableJSON

    Details

      Description

      We suggest users to list the running jobs in a Flink cluster via the following commands.

      List running job on the cluster
      ./bin/flink list -t yarn-per-job -Dyarn.application.id=application_XXXX_YY
      

      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.

      flink list --target yarn-per-job -Dyarn.application.id=$application_id -Dhigh-availability.cluster-id=$application_id
      

       

      Find more information in the discussion ML[1].

       

      [1]https://lists.apache.org/thread.html/r0ed905699a182d7b9180ed52d765fcd40caa659ef9640d60aa2ad20e%40%3Cuser.flink.apache.org%3E

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                trohrmann Till Rohrmann
                Reporter:
                fly_in_gis Yang Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: