一、官网安装
- 下载flink.tgz
- 解压
- 启动本地集群
$ ./bin/start-cluster.sh
- 报错:
[ERROR] The execution result is empty. [ERROR] Could not get JVM parameters and dynamic configurations properly. [ERROR] Raw output from BashJavaUtils: /d/Program Files/flink/flink-1.12.7/bin/config.sh: line 485: D:\Program: No such file or directory
- 解决: 在
/conf/flink-conf.yaml
加上自定义jdk配置,如:env.java.home: "D:\Program Files\Java\jdk1.8.0_211"
.
二、IDEA配置
- 编译发生错误
Error:(7, 28) object xxxx is not a member of package ....
解决:idea菜单栏找到 idea build –> rebuild project