apache-incubator-streampark源码编译本地运行
吾日三省吾身。——《论语》
1 | git clone https://github.com/apache/incubator-streampark.git |
拉取代码时候如果提示filename-too-long则可以:
然后拉取完成后编译,执行根目录下build.sh

如果执行不了build.sh,则直接使用命令:
1 | mvn -Pscala-2.12,dist -DskipTests clean package |

上面无论是build.sh还是命令执行成功后,都会生成dist目录

我们解压下面的tar.gz到incubator-streampark\streampark-console\streampark-console-service\target
重命名为streampark-console-service-2.1.0

然后配置streampark-console的运行,添加参数
1 | -Djdk.io.File.enableADS=true -Dapp.home=streampark-console/streampark-console-service/target/streampark-console-service-2.1.0 |
见:xnio坑

即可启动后端项目,前端项目则在webapp中使用yarn dev启动

