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:994) at org.apache.flink.client.cli.CliFrontend.list(CliFrontend.java:427) at org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1060) at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1132) 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:1875) at org.apache.flink.runtime.security.contexts.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41) at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1132)
时间: 2023-08-04 20:09:28 浏览: 268
ApacheFlink在eBay监控系统上的实践和应用
这个错误提示表明您在运行Flink命令时没有指定集群ID。您需要将Flink命令中的`-cid`或`--clusterid`选项设置为您要连接的集群的ID。例如:
```
./bin/flink list -cid myCluster
```
其中,`myCluster`是您要连接的集群的ID。请确保您输入的集群ID与您要连接的集群的ID相匹配。如果您不知道要连接的集群的ID,请联系您的系统管理员。
阅读全文