blink 初使用

https://www.jianshu.com/p/4f59e512b178

blink开源,目前在https://github.com/apache/flink/tree/blink

使用步骤:

1.git clone https://github.com/apache/flink.git

2.切到blink 分支

3.修改pom,注释掉

    <module>flink-tests</module>
    <module>flink-yarn-tests</module>
    <module>flink-fs-tests</module>
    <module>flink-end-to-end-tests</module>

4. mvn clean install -Dmaven.test.skip -Dcheckstyle.skip -Dlicense.skip=true -Drat.ignoreErrors=true

如果以前编译过则先保存提交新建的文件 然后
git clean -f -d
git clean -f -X
git clean -f -x
清理不必要的文件

5.进入build-target/bin 目录,执行./start-cluster.sh

6.访问 localhost:8081

image.png

word count实战

1.进入flink-examples/flink-examples-streaming

mvn clean install -Dmaven.test.skip

2.将1产生的 jar包上传

image.png

3.提交任务,执行

image.png 

全部评论

相关推荐

想按时下班的大菠萝在...:隔壁学校的,加油多投, 实在不好找可以下个学期开学找,把算法八股准备好,项目有空再换换
投了多少份简历才上岸
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务