使用自制软件安装时flink群集未启动

xfyts7mz  于 2021-06-21  发布在  Flink
关注(0)|答案(0)|浏览(296)

我用自制软件安装了ApacheFlink。

  1. brew install apache-flink

安装成功。尝试使用以下命令启动群集时,

  1. bash /usr/local/Cellar/apache-flink/1.12.0/libexec/bin/start-cluster.sh

我得到以下输出

  1. Starting cluster.
  2. Starting standalonesession daemon on host <hostname>.
  3. Starting taskexecutor daemon on host <hostname>.

但是日志抛出以下错误。
文件名:flink-bigbounty-standalonesession-5-rinmac664.out

  1. Error: Could not find or load main class -Xmx1073741824
  2. Caused by: java.lang.ClassNotFoundException: -Xmx1073741824

文件名:flink-bigbounty-taskexecutor-5-rinmac664.out

  1. Error: Could not find or load main class -Xmx536870902
  2. Caused by: java.lang.ClassNotFoundException: -Xmx536870902

由于找不到或加载主类错误,在flink群集上尝试了答案,但没有成功!!

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题