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

List jobs via bin/flink throws FlinkException indicating no cluster id was specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.10.0
    • None
    • Command Line Client
    • None

    Description

      The first command works fine.

      ./bin/flink list -m yarn-cluster -yid  application_1580534782944_0015
      

      The second command throws an Exception.

      ./bin/flink list -e yarn-per-job -yid application_1580534782944_0015
      

      And the exception stack is:

      org.apache.flink.util.FlinkException: No cluster id was specified. Please specify a cluster to which you would like to connect.

              at org.apache.flink.client.cli.CliFrontend.runClusterAction(CliFrontend.java:836)

              at org.apache.flink.client.cli.CliFrontend.list(CliFrontend.java:334)

              at org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:896)

              at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:966)

              at java.security.AccessController.doPrivileged(Native Method)

              at javax.security.auth.Subject.doAs(Subject.java:422)

              at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1754)

              at org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)

              at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:966)

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            felixzheng Canbin Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: