Flink 集群 Could not get JVM parameters properly.
通过日志查看,是环境变量得问题,Flink默认JAVA_HOME到jdk目录下,我配置得是到bin目录下;
JAVA_HOME=/home/archie/jdk/bin
改为JAVA_HOME=/home/archie/jdk
即可;
另外JAVA_HOME变了,环境变量也要变下
export PATH=${PATH}:/home/archie/jdk/bin
变为export PATH=${PATH}:/home/archie/jdk
改为
启动成功