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

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章