Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
021d27d5
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
021d27d5
编写于
6月 21, 2017
作者:
Z
zentol
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-6965] Include snappy-java in flink-dist
This closes #4160.
上级
ed3b3266
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
8 deletion
+20
-8
flink-core/pom.xml
flink-core/pom.xml
+6
-7
pom.xml
pom.xml
+6
-0
tools/travis_mvn_watchdog.sh
tools/travis_mvn_watchdog.sh
+8
-1
未找到文件。
flink-core/pom.xml
浏览文件 @
021d27d5
...
...
@@ -79,13 +79,12 @@ under the License.
<dependency>
<groupId>
org.apache.avro
</groupId>
<artifactId>
avro
</artifactId>
<!-- managed version -->
<exclusions>
<exclusion>
<groupId>
org.xerial.snappy
</groupId>
<artifactId>
snappy-java
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- We explicitly depend on snappy since connectors that require it load it through the system class loader -->
<dependency>
<groupId>
org.xerial.snappy
</groupId>
<artifactId>
snappy-java
</artifactId>
</dependency>
<!-- ASM is needed for type extraction -->
...
...
pom.xml
浏览文件 @
021d27d5
...
...
@@ -267,6 +267,12 @@ under the License.
<version>
1.8.2
</version>
</dependency>
<dependency>
<groupId>
org.xerial.snappy
</groupId>
<artifactId>
snappy-java
</artifactId>
<version>
1.1.1.3
</version>
</dependency>
<!-- Make sure we use a consistent commons-cli version throughout the project -->
<dependency>
<groupId>
commons-cli
</groupId>
...
...
tools/travis_mvn_watchdog.sh
浏览文件 @
021d27d5
...
...
@@ -165,7 +165,7 @@ watchdog () {
done
}
# Check the final fat jar for illegal artifacts
# Check the final fat jar for illegal
or missing
artifacts
check_shaded_artifacts
()
{
jar tf build-target/lib/flink-dist
*
.jar
>
allClasses
ASM
=
`
cat
allClasses |
grep
'^org/objectweb/asm/'
|
wc
-l
`
...
...
@@ -184,6 +184,13 @@ check_shaded_artifacts() {
exit
1
fi
SNAPPY
=
`
cat
allClasses |
grep
'^org/xerial/snappy'
|
wc
-l
`
if
[
$SNAPPY
==
"0"
]
;
then
echo
"=============================================================================="
echo
"Missing snappy dependencies in fat jar"
echo
"=============================================================================="
exit
1
fi
}
# =============================================================================
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录