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/11/08 14:33:13 UTC

[iotdb] 02/06: force claim guava version to avoid version conflict in hadoop module

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

hxd pushed a commit to branch fix_dependencies
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit c74a790a10299fdf127331aad3649e96f91cfd69
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Nov 8 17:12:36 2020 +0800

    force claim guava version to avoid version conflict in hadoop module
---
 hadoop/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hadoop/pom.xml b/hadoop/pom.xml
index 337cf2b..f6227d1 100644
--- a/hadoop/pom.xml
+++ b/hadoop/pom.xml
@@ -45,6 +45,12 @@
         <dependency>
             <groupId>org.apache.hadoop</groupId>
             <artifactId>hadoop-client</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.google.guava</groupId>
+                    <artifactId>guava</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <!-- many of hadoop dependencies use guava11, but org.apache.curator from hadoop-common uses
         guava16 -->