注意:
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