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

[iotdb] 05/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 d4587b75991d8f922949989080397953e689cc24
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 6b33daa..4b41771 100644
--- a/hadoop/pom.xml
+++ b/hadoop/pom.xml
@@ -59,6 +59,13 @@
             <artifactId>guava</artifactId>
             <version>21.0</version>
         </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>