You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/06/15 09:53:27 UTC
[incubator-iotdb] 01/03: fix Dependency convergence error in
flink-tsfile-connector
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch iotdb-761
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit c5d076de82aac8ec8fc08670c41cd79f59cdb30a
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Wed Jun 10 17:48:22 2020 +0800
fix Dependency convergence error in flink-tsfile-connector
---
flink-tsfile-connector/pom.xml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/flink-tsfile-connector/pom.xml b/flink-tsfile-connector/pom.xml
index 3879873..9120572 100644
--- a/flink-tsfile-connector/pom.xml
+++ b/flink-tsfile-connector/pom.xml
@@ -39,11 +39,26 @@
<groupId>org.apache.iotdb</groupId>
<artifactId>hadoop-tsfile</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <!-- flink-java uses commons-math3:3.3.5 while hadoop uses 3.1.1-->
+ <exclusion>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math3</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>${flink.version}</version>
+ <exclusions>
+ <!-- org.apache.iotdb:hadoop-tsfile uses hadoop-common:2.7.3, which uses commons-compress:1.4.1-->
+ <!-- flink-java uses commons-compress:1.18-->
+ <exclusion>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-compress</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>