[jira] [Created] (FLINK-17055) List jobs via bin/flink throws FlinkException indicating no cluster id was specified

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

[jira] [Created] (FLINK-17055) List jobs via bin/flink throws FlinkException indicating no cluster id was specified

Shang Yuanchun (Jira)
Canbin Zheng created FLINK-17055:
------------------------------------

             Summary: List jobs via bin/flink throws FlinkException indicating no cluster id was specified
                 Key: FLINK-17055
                 URL: https://issues.apache.org/jira/browse/FLINK-17055
             Project: Flink
          Issue Type: Bug
          Components: Command Line Client
    Affects Versions: 1.10.0
            Reporter: Canbin Zheng


The first command works fine.
{code:java}
./bin/flink list -m yarn-cluster -yid  application_1580534782944_0015
{code}
The second command throws an Exception.
{code:java}
./bin/flink list -e yarn-per-job -yid application_1580534782944_0015
{code}
And the exception stack is:

> The program finished with the following exception:

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

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)