This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch rel/0.10
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/rel/0.10 by this push:
     new 076d9be  fix Dependency convergence error in flink-tsfile-connector
076d9be is described below

commit 076d9bea33dc392c81e64769ee68c5c5c28adb82
Author: xiangdong huang <[email protected]>
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>

Reply via email to