05-flink源码下载
开发环境
工具:idea + maven + git
开发语言:java/scala
源码下载
-
登录github:https://github.com/apache/flink
-
git clone https://github.com/apache/flink.git
-
切换目标分支/tag
git checkout release-1.6.2
补充:查看分支 git branch -a 查看 tag git tag
-
idea打开 checkout 的项目
-
源码学习或者使用
-
编译源码(可选)
mvn clean install -DskipTests
指定hadoop版本编译:mvn clean install -DskipTests -Dhadoop.version=2.6.1
编译失败解决
找不到包
报错现象:
Could not find artifact com…