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:12 UTC

[iotdb] 01/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 593b06e3cb7555014d41cd5a492d6ef589608a5c
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Nov 8 11:40:47 2020 +0800

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

diff --git a/hadoop/pom.xml b/hadoop/pom.xml
index df3087c..337cf2b 100644
--- a/hadoop/pom.xml
+++ b/hadoop/pom.xml
@@ -46,6 +46,13 @@
             <groupId>org.apache.hadoop</groupId>
             <artifactId>hadoop-client</artifactId>
         </dependency>
+        <!-- many of hadoop dependencies use guava11, but org.apache.curator from hadoop-common uses
+        guava16 -->
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+            <version>16.0.1</version>
+        </dependency>
     </dependencies>
     <build>
         <plugins>