Flink打包生成安装包缺少jar包

官方默认打包生成的安装包的flink-release-1.7.0\flink-dist\target\flink-1.7.0-bin\flink-1.7.0\lib下缺少jar

Flink打包生成安装包缺少jar包_第1张图片

flink-dist项目修改两个配置文件,添加需要打入到安装包的jar包

flink-release-1.7.0\flink-dist\src\main\assemblies\bin.xml



lib
false
false
false
true
true


org.slf4j:slf4j-log4j12
log4j:log4j
com.sun.jersey:jersey-core
org.codehaus.janino:commons-compiler
org.codehaus.janino:janino


flink-release-1.7.0\flink-dist\pom.xml



com.sun.jersey
jersey-core
1.9



org.codehaus.janino
commons-compiler
3.0.7



org.codehaus.janino
janino
3.0.7



org.slf4j
slf4j-log4j12
compile



log4j
log4j
compile

 

转载于:https://www.cnblogs.com/felixzh/p/10423470.html

你可能感兴趣的:(Flink打包生成安装包缺少jar包)