Apache flink Flink:启动scala shell时出错-无法创建DispatcherResourceManager组件

Apache flink Flink:启动scala shell时出错-无法创建DispatcherResourceManager组件,apache-flink,flink-streaming,Apache Flink,Flink Streaming,我使用的是Flink 1.10.0版,当使用“启动Scala shell.sh”启动Scala shell时,它会引发如下异常: Exception in thread "main" org.apache.flink.util.FlinkException: Could not create the DispatcherResourceManagerComponent. at org.apache.flink.runtime.entrypoint.component.DefaultDis

我使用的是Flink 1.10.0版,当使用“启动Scala shell.sh”启动Scala shell时,它会引发如下异常:

Exception in thread "main" org.apache.flink.util.FlinkException: Could not create the DispatcherResourceManagerComponent.
    at org.apache.flink.runtime.entrypoint.component.DefaultDispatcherResourceManagerComponentFactory.create(DefaultDispatcherResourceManagerComponentFactory.java:261)
我已经将rest端口从8081更改为8089,但仍然面临相同的问题

我甚至在Flink 1.9.2中尝试过这个,但遇到了同样的问题


请帮忙

您是否已检查计算机上是否有这些端口?如果没有,我建议使用,看看这是否是一个问题。您是否检查过这些端口在您的机器上可用?如果不是的话,我建议使用一个测试,看看这是否是一个问题。