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/07/28 13:05:28 UTC

[incubator-iotdb] 04/06: remove jol-core dependency which is introduced by hive-serde 2.8.4

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

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

commit 2689bc142cd8acdf324fc02cbf4eb27e8d32bbca
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Jul 28 11:06:16 2020 +0800

    remove jol-core dependency which is introduced by hive-serde 2.8.4
    
    remove jol-core dependency which is introduced by hive-serde 2.8.4
---
 hive-connector/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/hive-connector/pom.xml b/hive-connector/pom.xml
index 0e136b9..e071007 100644
--- a/hive-connector/pom.xml
+++ b/hive-connector/pom.xml
@@ -50,6 +50,10 @@
                     <groupId>org.apache.orc</groupId>
                     <artifactId>orc-core</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.hive</groupId>
+                    <artifactId>hive-storage-api</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
         <!-- force upgrade the dependency of hive-serde-->
@@ -58,6 +62,13 @@
             <artifactId>orc-core</artifactId>
             <version>1.6.0</version>
         </dependency>
+        <!-- orc-core 1.6 uses hive-storage-api 2.6.0, while hive-serde 2.8.4 uses 2.4.0, so we
+        explicitly claim it.-->
+        <dependency>
+            <groupId>org.apache.hive</groupId>
+            <artifactId>hive-storage-api</artifactId>
+            <version>2.6.0</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.hive</groupId>
             <artifactId>hive-exec</artifactId>