This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 114ec9a [KYUUBI #1009][FOLLOWUP] Kyuubi server failed to start when
connecting to secured HMS
114ec9a is described below
commit 114ec9a046af40420adbf998aa865e3375bb0d2c
Author: zhouyifan279 <[email protected]>
AuthorDate: Mon Sep 27 12:35:28 2021 +0800
[KYUUBI #1009][FOLLOWUP] Kyuubi server failed to start when connecting to
secured HMS
### _Why are the changes needed?_
Fix #1161 [Bug] Kyuubi server failed to start when connecting to a secured
Hive metastore
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including
negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate

- [x] [Run
test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests)
locally before make a pull request
Closes #1162 from zhouyifan279/KYUUBI#1161.
Closes #1009
f5b54818 [zhouyifan279] [KYUUBI #1161][Bug] Kyuubi server failed to start
when connecting to a secured Hive metastore
Authored-by: zhouyifan279 <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
---
dev/dependencyList | 2 ++
kyuubi-server/pom.xml | 20 ++++++++++----------
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/dev/dependencyList b/dev/dependencyList
index 8545197..b50f968 100644
--- a/dev/dependencyList
+++ b/dev/dependencyList
@@ -28,7 +28,9 @@ hadoop-client-api/3.2.2//hadoop-client-api-3.2.2.jar
hadoop-client-runtime/3.2.2//hadoop-client-runtime-3.2.2.jar
hive-common/2.3.7//hive-common-2.3.7.jar
hive-metastore/2.3.7//hive-metastore-2.3.7.jar
+hive-serde/2.3.7//hive-serde-2.3.7.jar
hive-service-rpc/2.3.7//hive-service-rpc-2.3.7.jar
+hive-shims-0.23/2.3.7//hive-shims-0.23-2.3.7.jar
hive-shims-common/2.3.7//hive-shims-common-2.3.7.jar
hk2-api/2.6.1//hk2-api-2.6.1.jar
hk2-locator/2.6.1//hk2-locator-2.6.1.jar
diff --git a/kyuubi-server/pom.xml b/kyuubi-server/pom.xml
index df79a6b..9d1d9df 100644
--- a/kyuubi-server/pom.xml
+++ b/kyuubi-server/pom.xml
@@ -77,11 +77,21 @@
</dependency>
<dependency>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-serde</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>org.apache.hive.shims</groupId>
<artifactId>hive-shims-common</artifactId>
</dependency>
<dependency>
+ <groupId>org.apache.hive.shims</groupId>
+ <artifactId>hive-shims-0.23</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-common</artifactId>
<exclusions>
@@ -174,19 +184,9 @@
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
- <artifactId>hive-serde</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.hive</groupId>
<artifactId>hive-service</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.apache.hive</groupId>
- <artifactId>hive-shims</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.apache.hive</groupId>