Flink 编译
2020-05-20 本文已影响0人
晚熟的程序员
我的代码版本为 release-1.9
liyue@liyue-1:~/flink/flink-1.9$ git remote -v
origin https://github.com/apache/flink.git (fetch)
origin https://github.com/apache/flink.git (push)
liyue@liyue-1:~/flink/flink-1.9$ git status
On branch release-1.9
Your branch is up to date with 'origin/release-1.9'.
nothing to commit, working tree clean
liyue@liyue-1:~/flink/flink-1.9$
编译
mvn install -DskipTests -Dfast
成功界面
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for flink 1.9-SNAPSHOT:
[INFO]
[INFO] force-shading ...................................... SUCCESS [ 1.769 s]
[INFO] flink .............................................. SUCCESS [ 1.811 s]
...省略...
[INFO] flink-ml-lib ....................................... SUCCESS [ 0.224 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:37 min
[INFO] Finished at: 2020-05-20T16:51:15+08:00
[INFO] ------------------------------------------------------------------------
启动
liyue@liyue-1:~/flink/flink-1.9/build-target/flink-1.9-SNAPSHOT$ pwd
/Users/liyue/flink/flink-1.9/build-target/flink-1.9-SNAPSHOT
liyue@liyue-1:~/flink/flink-1.9/build-target/flink-1.9-SNAPSHOT$ bin/start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host liyue-1.local.
Starting taskexecutor daemon on host liyue-1.local.
liyue@liyue-1:~/flink/flink-1.9/build-target/flink-1.9-SNAPSHOT$