美文网首页
Flink 编译

Flink 编译

作者: 晚熟的程序员 | 来源:发表于2020-05-20 17:12 被阅读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$ 

打开管理界面

http://localhost:8081/#/overview

界面如下

1.png

上传测试包

2.png

测试完成

3.png

相关文章

网友评论

      本文标题:Flink 编译

      本文链接:https://www.haomeiwen.com/subject/mxxnohtx.html