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

[incubator-iotdb] 01/02: 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 for-releasing-0.10.1
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit bb905cd5be18cd0f73cef4d1b4c3833950604170
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Jul 28 10:18:57 2020 +0800

    remove jol-core dependency which is introduced by hive-serde 2.8.4
---
 RELEASE_NOTES.md       |  2 ++
 hive-connector/pom.xml | 15 +++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 47fc7db..0de92ad 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -40,6 +40,8 @@
 * fix doc of MeasurementSchema in Tablet 
 * [IOTDB-811] fix upgrading mlog many times when upgrading system.properties crashed
 * Improve IoTDB restart process
+* remove jol-core dependency which is introduced by hive-serde 2.8.4
+
 
 # Apache IoTDB (incubating) 0.10.0
 
diff --git a/hive-connector/pom.xml b/hive-connector/pom.xml
index 2752758..401f60c 100644
--- a/hive-connector/pom.xml
+++ b/hive-connector/pom.xml
@@ -43,6 +43,21 @@
         <dependency>
             <groupId>org.apache.hive</groupId>
             <artifactId>hive-serde</artifactId>
+            <exclusions>
+                <!-- hive-serde 2.8.4 uses orc-core 1.3.2,
+                which is under incompatible license. So, exclude it.-->
+                <exclusion>
+                    <groupId>org.apache.orc</groupId>
+                    <artifactId>orc-core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <!-- force upgrade the dependency of hive-serde-->
+        <dependency>
+            <groupId>org.apache.orc</groupId>
+            <artifactId>orc-core</artifactId>
+            <version>1.6.0</version>
+        </dependency>
         </dependency>
         <dependency>
             <groupId>org.apache.hive</groupId>