flink Could not create the DispatcherResourceManagerComponent

注意:

start-scala-shell.sh  只适用Apache Flink 1.11.2 for Scala 2.11 中scala_2.11.x 系列 ,scala_2.12.x 不支持
Error: Could not find or load main class org.apache.flink.api.scala.FlinkShell

  


运行:
start-scala-shell.sh local

报错:Could not create the DispatcherResourceManagerComponent

 解决:

你需要运行 stop-cluster.sh 停止 standalone 的进程,关闭web ui. 然后重新运行就可以了

进去后会报错,但是不影响使用:

java.lang.NumberFormatException: For input string: "0x100"

关闭这个错误, 在 /etc/profile 增加:

export TERM=xterm-color

 

原文地址:https://www.cnblogs.com/feiquan/p/13721792.html