我用自制软件安装了ApacheFlink。
brew install apache-flink
安装成功。尝试使用以下命令启动群集时,
bash /usr/local/Cellar/apache-flink/1.12.0/libexec/bin/start-cluster.sh
我得到以下输出
Starting cluster.
Starting standalonesession daemon on host <hostname>.
Starting taskexecutor daemon on host <hostname>.
但是日志抛出以下错误。
文件名:flink-bigbounty-standalonesession-5-rinmac664.out
Error: Could not find or load main class -Xmx1073741824
Caused by: java.lang.ClassNotFoundException: -Xmx1073741824
文件名:flink-bigbounty-taskexecutor-5-rinmac664.out
Error: Could not find or load main class -Xmx536870902
Caused by: java.lang.ClassNotFoundException: -Xmx536870902
由于找不到或加载主类错误,在flink群集上尝试了答案,但没有成功!!
暂无答案!
目前还没有任何答案,快来回答吧!