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


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

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

    flink-release-1.7.0flink-distsrcmainassembliesin.xml

    <dependencySets>
    <dependencySet>
    <outputDirectory>lib</outputDirectory>
    <unpack>false</unpack>
    <useProjectArtifact>false</useProjectArtifact>
    <useProjectAttachments>false</useProjectAttachments>
    <useTransitiveDependencies>true</useTransitiveDependencies>
    <useTransitiveFiltering>true</useTransitiveFiltering>
    
    <includes>
    <include>org.slf4j:slf4j-log4j12</include>
    <include>log4j:log4j</include>
    <include>com.sun.jersey:jersey-core</include>
    <include>org.codehaus.janino:commons-compiler</include>
    <include>org.codehaus.janino:janino</include>
    </includes>
    </dependencySet>
    </dependencySets>

    flink-release-1.7.0flink-distpom.xml

    <!-- Concrete logging framework - we add this only here (and not in the
    root POM) to not tie the projects to one specific framework and make
    it easier for users to swap logging frameworks -->
    <dependency>
    <groupId>com.sun.jersey</groupId>
    <artifactId>jersey-core</artifactId>
    <version>1.9</version>
    </dependency>
    
    <dependency>
    <groupId>org.codehaus.janino</groupId>
    <artifactId>commons-compiler</artifactId>
    <version>3.0.7</version>
    </dependency>
    
    <dependency>
    <groupId>org.codehaus.janino</groupId>
    <artifactId>janino</artifactId>
    <version>3.0.7</version>
    </dependency>
    
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-log4j12</artifactId>
    <scope>compile</scope>
    </dependency>
    
    <dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <scope>compile</scope>
    </dependency>
  • 相关阅读:
    C++中的虚函数、重写与多态
    STL中_Rb_tree的探索
    C++11 新用法
    FJUTOJ-3682 LRU算法的实现2 (链表+哈希)
    Windows系统对拍程序
    FOJ-2013 A Short Problem (前缀和)
    HDU-2036 改革春风吹满地 (数学)
    Ubuntu下PostgreSQL的安装和简单操作
    Ubuntu,Linux下goldendict词典安装及配置
    搜狗输入法输入汉字时候选栏乱码
  • 原文地址:https://www.cnblogs.com/felixzh/p/10423470.html
Copyright © 2020-2023  润新知