Git Product home page Git Product logo

flinksql-remote-submit's Introduction

远程提交flink sql 到 yarn集群

模块介绍:
1、flink-sql-mix:定义source、sink及udf模块
2、flink-remote-api:rest提交模块
3、flink-job-construct:构造jobgraph及提交到yarn模块

本地提交:
入口类:com.yiwei.local.SqlJobLocalExecute
注意事项: 1、sql文件路径改成自己的路径
2、依赖jar文件夹改为自己的路径
3、resources中的配置文件替换成你的集群的中的配置文件

rest远程提交:
1、启动SqlApplication程序
2、访问localhost:port/swagger-ui.html
提交接口:http://localhost:port/job/submit
提交方法:Post
参数样例:
{
"dependencyJarsDir": "./dependencies",
"sql": "${path}/kafkaToConsole-function.sql"
}
${path}根据文件位置替换

若有问题请添加微信:yiwei0991

flinksql-remote-submit's People

Contributors

yiwei00000 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.